Browse Source

test: 4 workers

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6546/head
Raju Udava 1 year ago
parent
commit
1f11186c71
  1. 8
      tests/playwright/package.json

8
tests/playwright/package.json

@ -30,10 +30,10 @@
"test:debug:watch": "pnpm dlx nodemon -e ts -w ./ -x \"pnpm run test:debug\"", "test:debug:watch": "pnpm dlx nodemon -e ts -w ./ -x \"pnpm run test:debug\"",
"test:debug:quick:sqlite": "./startPlayWrightServer.sh; PW_QUICK_TEST=1 PW_TEST_REUSE_CONTEXT=1 PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:31000/ PWDEBUG=console pnpm exec playwright test -c playwright.config.ts --headed --project=chromium --retries 0 --timeout 5 --workers 1 --max-failures=1", "test:debug:quick:sqlite": "./startPlayWrightServer.sh; PW_QUICK_TEST=1 PW_TEST_REUSE_CONTEXT=1 PW_TEST_CONNECT_WS_ENDPOINT=ws://127.0.0.1:31000/ PWDEBUG=console pnpm exec playwright test -c playwright.config.ts --headed --project=chromium --retries 0 --timeout 5 --workers 1 --max-failures=1",
"ci:test": "pnpm exec playwright test --workers=2", "ci:test": "pnpm exec playwright test --workers=2",
"ci:test:shard:1": "pnpm exec playwright test --shard=1/4 --workers=2", "ci:test:shard:1": "pnpm exec playwright test --shard=1/4 --workers=4",
"ci:test:shard:2": "pnpm exec playwright test --shard=2/4 --workers=2", "ci:test:shard:2": "pnpm exec playwright test --shard=2/4 --workers=4",
"ci:test:shard:3": "pnpm exec playwright test --shard=3/4 --workers=2", "ci:test:shard:3": "pnpm exec playwright test --shard=3/4 --workers=4",
"ci:test:shard:4": "pnpm exec playwright test --shard=4/4 --workers=2", "ci:test:shard:4": "pnpm exec playwright test --shard=4/4 --workers=4",
"ci:test:flaky:repeat": "pnpm exec playwright test --workers=4 --grep @flaky --repeat-each=3", "ci:test:flaky:repeat": "pnpm exec playwright test --workers=4 --grep @flaky --repeat-each=3",
"ci:test:mysql": "E2E_DB_TYPE=mysql pnpm exec playwright test --workers=2", "ci:test:mysql": "E2E_DB_TYPE=mysql pnpm exec playwright test --workers=2",
"ci:test:pg": "E2E_DB_TYPE=pg pnpm exec playwright test --workers=2", "ci:test:pg": "E2E_DB_TYPE=pg pnpm exec playwright test --workers=2",

Loading…
Cancel
Save