Skip to content

Commit

Permalink
Test parallel tests
Browse files Browse the repository at this point in the history
parallelism: 3
  • Loading branch information
comzeradd committed Nov 25, 2024
1 parent 7f7ad98 commit 72c60f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ jobs:

e2e-tests:
working_directory: /usr/app/
parallelism: 3
docker:
- image: mcr.microsoft.com/playwright:v1.37.1
auth:
Expand All @@ -210,7 +211,8 @@ jobs:
export WP_BASE_URL="https://www-dev.greenpeace.org/test-$(cat /tmp/workspace/test-instance)/"
export WP_TEST_USERNAME="p4_test_user"
export WP_TEST_PASSWORD="${WP_TEST_USER}"
npx playwright test
TEST=$(circleci tests glob "tests/e2e/**.spec.js")
echo "$TEST" | circleci tests run --command="npx playwright test" --split-by=timings
- run:
name: Delete test user
when: always
Expand Down

0 comments on commit 72c60f9

Please sign in to comment.