Update CI settings for e2e tests

Adjusted the parallel test limit on CI from 1 to 2 in playwright configuration and updated the test script to stop after the first failure. These changes will allow CI to run tests more efficiently and stop running further tests when a failure is encountered.
This commit is contained in:
giancarlo
2024-04-12 19:08:29 +08:00
parent f7de3ea9c4
commit 24a6190f51
3 changed files with 6 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"report": "playwright show-report",
"test": "playwright test",
"test": "playwright test --max-failures=1",
"test:ui": "playwright test --ui"
},
"keywords": [],