From 4f3a01133a56d69f847c6c36a53825b6c5f04b8c Mon Sep 17 00:00:00 2001 From: Drew Bollinger Date: Fri, 3 Nov 2023 16:54:05 -0400 Subject: [PATCH] fix gitkeep trick, add remove users --- .gitignore | 2 +- ci/pipeline-dev.yml | 2 ++ ci/tasks/e2e-test.sh | 2 ++ playwright/.auth/.gitkeep | 0 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 playwright/.auth/.gitkeep 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