Retry a test twice before giving up

We have some flaky tests in the test suite. This should take care of it.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-09-29 15:23:20 +02:00
parent f5c4d8141f
commit dab1770a13
+4
View File
@@ -3,6 +3,10 @@ import { defineConfig } from "cypress";
export default defineConfig({
video: false,
defaultCommandTimeout: 10000,
retries: {
runMode: 2,
openMode: 0,
},
e2e: {
specPattern: "cypress/e2e/**/*spec.ts",
baseUrl: "http://localhost:3000",