Skip to content

Commit eb15c69

Browse files
authored
test(boilerplate-vue): set both retries and timeout (#9990)
1 parent 877d738 commit eb15c69

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

examples/boilerplate-vue/cypress.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from 'cypress';
22

33
const PORT = process.env.PORT || '8000';
4+
const isWin = process.platform === 'win32';
45

56
export default defineConfig({
67
projectId: 'qikpat',
@@ -10,4 +11,8 @@ export default defineConfig({
1011
},
1112
baseUrl: `http://localhost:${PORT}`,
1213
},
14+
retries: {
15+
runMode: 3,
16+
},
17+
defaultCommandTimeout: isWin ? 60000 : 4000,
1318
});

0 commit comments

Comments
 (0)