Skip to content

Commit

Permalink
test: use several workers for ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed Apr 29, 2023
1 parent d021211 commit 48fc7aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"pytest": "poetry run pytest",
"jstest": "cd js/pyobsplot-js && npm run test",
"uistart": "poetry run jupyter lab --config tests/ui/jupyter_server_config.py",
"uitest": "playwright test --config tests/ui/playwright.config.cjs",
"uitest": "playwright test --workers=4 --config tests/ui/playwright.config.cjs",
"uitest:debug": "PWDEBUG=1 playwright test --config tests/ui/playwright.config.cjs",
"uitest:report": "http-server ./tests/ui/playwright-report -a localhost -o",
"uitest:update": "playwright test --config tests/ui/playwright.config.cjs --update-snapshots",
"uitest:ui": "playwright test --config tests/ui/playwright.config.cjs --ui"
"uitest:update": "playwright test --workers=4 --config tests/ui/playwright.config.cjs --update-snapshots",
"uitest:ui": "playwright test --workers=4 --config tests/ui/playwright.config.cjs --ui"
},
"devDependencies": {
"@jupyterlab/galata": "^4.5.3",
"@playwright/test": "^1.32.1",
"esbuild": "^0.17.18"
},
"type": "module"
}
}
1 change: 1 addition & 0 deletions tests/ui/playwright.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ module.exports = {
outputDir: 'test-results',
timeout: 2400000,
retries: 0,
fullyParallel: true,
};

0 comments on commit 48fc7aa

Please sign in to comment.