@@ -21,7 +21,7 @@ For this task, we will be creating a web application to run in our review enviro
1. Select **Edit > Edit in pipeline editor**.
1. When we add express code into our `index.js` file, our tests will no longer be able to run against `index.js`, since running this will create a webserver that waits for connections. Thus, let's remove the `test binarysearch` and the `test linearsearch` jobs from the file. Remove the jobs from the `.gitlab-ci.yml` file, and select **Commit changes**.
1. When we add express code into our `index.js` file, our tests will no longer be able to run against `index.js`, since running this will create a webserver that waits for connections. Thus, let's remove the `install deps`, `test binarysearch` and the `test linearsearch` jobs from the file. Remove the jobs from the `.gitlab-ci.yml` file, and select **Commit changes**.
1. Navigate back to your project repository.
@@ -177,9 +177,11 @@ To test that your review app works, let's create a new merge request.
1. Set the branch name to `test_review` and select **Create branch**.
1.Select `index.js`.
1.Create a merge request for this branch.
1. Select **Edit > Edit single file**.
1. Once you have created this, open the Web IDE from the merge request by selecting **Code > Open in Web IDE**
1. Select your `index.js` file.
1. Update your `res.send` to display any message you like. Below is an example:
@@ -197,14 +199,12 @@ To test that your review app works, let's create a new merge request.
})
```
1. Select **Commit changes**, add an appropriate commit message and select **Commit changes**.
1. Select **Create merge request**.
1. Leave all options as default and select **Create merge request**.
1. Select the **source control** icon. Enter a commit message, then click the **Commit and put to...** button to commit your code change.
1. Wait for the pipeline to complete.
1. Open your merge request.
1. Select **View app** after the pipeline completes.