Skip to content

Commit

Permalink
adjust e2e readme (#20305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Reuter authored Dec 12, 2022
1 parent 21e7290 commit fbba4ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions airbyte-webapp-e2e-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Except as noted, all commands are written as if run from inside the `airbyte-web
Steps:
1) If you have not already done so, run `npm install` to install the e2e test dependencies.
2) Build the OSS backend for the current commit with `SUB_BUILD=PLATFORM ../gradlew clean build`.
3) Create the test database: `npm run createdb`.
4) Start the OSS backend: `VERSION=dev docker-compose --file ../docker-compose.yaml up`. If you want, follow this with `docker-compose stop webapp` to turn off the dockerized frontend build; interactive cypress sessions don't use it.
3) Create the test database: `npm run createdbsource`.
4) Start the OSS backend: `BASIC_AUTH_USERNAME="" BASIC_AUTH_PASSWORD="" VERSION=dev docker-compose --file ../docker-compose.yaml up`. If you want, follow this with `docker-compose stop webapp` to turn off the dockerized frontend build; interactive cypress sessions don't use it.
5) The following two commands will start a separate long-running server, so open another terminal window. In it, `cd` into the `airbyte-webapp/` directory.
6) If you have not already done so, run `npm install` to install the frontend app's dependencies.
7) Start the frontend development server with `npm start`.
Expand All @@ -23,6 +23,6 @@ Except as noted, all commands are written as if run from inside the `airbyte-web
Steps:
1) If you have not already done so, run `npm install` to install the e2e test dependencies.
2) Build the OSS backend for the current commit with `SUB_BUILD=PLATFORM ../gradlew clean build`.
3) Create the test database: `npm run createdb`.
4) Start the OSS backend: `VERSION=dev docker-compose --file ../docker-compose.yaml up`.
3) Create the test database: `npm run createdbsource`.
4) Start the OSS backend: `BASIC_AUTH_USERNAME="" BASIC_AUTH_PASSWORD="" VERSION=dev docker-compose --file ../docker-compose.yaml up`.
5) Start the cypress test run with `npm run cypress:ci` or `npm run cypress:ci:record`.

0 comments on commit fbba4ec

Please sign in to comment.