diff --git a/.gitignore b/.gitignore index 656541497..ab7c73178 100644 --- a/.gitignore +++ b/.gitignore @@ -48,5 +48,5 @@ test-results/ playwright-report/ blob-report/ playwright/.cache/ -playwright/.auth/ +playwright/.auth/* !playwright/.auth/.gitkeep diff --git a/ci/pipeline-dev.yml b/ci/pipeline-dev.yml index c8f1efef5..ead9bc397 100644 --- a/ci/pipeline-dev.yml +++ b/ci/pipeline-dev.yml @@ -291,8 +291,10 @@ jobs: file: src/ci/partials/e2e-test.yml image: node params: + APP_ENV: ((deploy-env)) APP_HOSTNAME: https://((((deploy-env))-pages-domain)) DOMAIN: ((((deploy-env))-pages-domain)) + PLAYWRIGHT_HTML_REPORT: playwright-report/$BUILD_NAME - put: s3 diff --git a/ci/tasks/e2e-test.sh b/ci/tasks/e2e-test.sh index c5fb35db3..9279b451a 100755 --- a/ci/tasks/e2e-test.sh +++ b/ci/tasks/e2e-test.sh @@ -6,4 +6,6 @@ yarn install yarn playwright install-deps yarn playwright install +node scripts/create-test-user.js yarn playwright test +node scripts/remove-test-user.js diff --git a/playwright/.auth/.gitkeep b/playwright/.auth/.gitkeep new file mode 100644 index 000000000..e69de29bb