Skip to content

Commit

Permalink
test(boilerplate-vue): set both retries and timeout (#9990)
Browse files Browse the repository at this point in the history
  • Loading branch information
xierenyuan committed Dec 8, 2022
1 parent 877d738 commit eb15c69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/boilerplate-vue/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'cypress';

const PORT = process.env.PORT || '8000';
const isWin = process.platform === 'win32';

export default defineConfig({
projectId: 'qikpat',
Expand All @@ -10,4 +11,8 @@ export default defineConfig({
},
baseUrl: `http://localhost:${PORT}`,
},
retries: {
runMode: 3,
},
defaultCommandTimeout: isWin ? 60000 : 4000,
});

0 comments on commit eb15c69

Please sign in to comment.