make e2e test fail on the first failed test

This commit is contained in:
Matthias Nannt
2025-04-04 12:23:33 +09:00
parent d77040fe2d
commit 49c0512ec4

View File

@@ -17,6 +17,8 @@ export default defineConfig({
retries: 0,
/* Timeout for each test */
timeout: 120000,
/* Fail the test run after the first failure */
maxFailures: 1, // Stop execution after the first failed test
/* Opt out of parallel tests on CI. */
// workers: os.cpus().length,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */