@@ -342,32 +342,6 @@ commands:
342342 RELIER_DOMAIN : << pipeline.parameters.relier-domain >>
343343 UNTRUSTED_RELIER_DOMAIN : << pipeline.parameters.untrusted-relier-domain >>
344344
345- run-playwright-tests-chromium :
346- parameters :
347- project :
348- type : string
349- steps :
350- - run :
351- name : Running Playwright tests
352- # Supports 'Re-run failed tests only'. See this for more info: https://circleci.com/docs/rerun-failed-tests-only/
353- command : |
354- npx nx build fxa-auth-client
355- cd packages/functional-tests/tests
356- TEST_FILES=$(circleci tests glob "./**/*.spec.ts")
357- cd ..
358- echo $TEST_FILES | circleci tests run \
359- --command="xargs yarn playwright test --project=<< parameters.project >> $GREP" \
360- --verbose \
361- --split-by=timings \
362- --timings-type=classname
363- environment :
364- NODE_OPTIONS : --dns-result-order=ipv4first
365- ACCOUNTS_DOMAIN : << pipeline.parameters.accounts-domain >>
366- PAYMENTS_DOMAIN : << pipeline.parameters.payments-domain >>
367- ACCOUNTS_API_DOMAIN : << pipeline.parameters.accounts-api-domain >>
368- RELIER_DOMAIN : << pipeline.parameters.relier-domain >>
369- UNTRUSTED_RELIER_DOMAIN : << pipeline.parameters.untrusted-relier-domain >>
370-
371345 store-artifacts :
372346 steps :
373347 - run :
@@ -730,31 +704,6 @@ jobs:
730704 project : local
731705 - store-artifacts
732706
733- playwright-functional-tests-chromium :
734- parameters :
735- parallelism :
736- type : integer
737- default : 8 # this should correspond with the resource-class defined in the executor
738- executor : functional-test-executor
739- parallelism : << parameters.parallelism >>
740- steps :
741- - git-checkout
742- - restore-workspace
743- - run :
744- name : Add localhost
745- command : |
746- sudo tee -a /etc/hosts \<<<'127.0.0.1 localhost'
747- sudo cat /etc/hosts
748- - wait-for-infrastructure
749- - run :
750- name : Start services for playwright tests
751- command : ./packages/functional-tests/scripts/start-services.sh
752- environment :
753- NODE_ENV : test
754- - run-playwright-tests-chromium :
755- project : local
756- - store-artifacts
757-
758707 build-and-deploy-storybooks :
759708 executor : default-executor
760709 resource_class : xlarge
0 commit comments