From fbba4ec95b3e12edfebf6d9fc627be9210965822 Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Mon, 12 Dec 2022 14:55:48 +0100 Subject: [PATCH] adjust e2e readme (#20305) --- airbyte-webapp-e2e-tests/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/airbyte-webapp-e2e-tests/README.md b/airbyte-webapp-e2e-tests/README.md index 81efe0fe527c7..858176610a0b8 100644 --- a/airbyte-webapp-e2e-tests/README.md +++ b/airbyte-webapp-e2e-tests/README.md @@ -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`. @@ -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`.