From eb15c69b167ce804028f26a9794ef6bf8ce6dbca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E5=B9=B3?= Date: Thu, 8 Dec 2022 09:35:24 +0800 Subject: [PATCH] test(boilerplate-vue): set both retries and timeout (#9990) --- examples/boilerplate-vue/cypress.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/boilerplate-vue/cypress.config.ts b/examples/boilerplate-vue/cypress.config.ts index 751eb5c690d9..e26cbc11f549 100644 --- a/examples/boilerplate-vue/cypress.config.ts +++ b/examples/boilerplate-vue/cypress.config.ts @@ -1,6 +1,7 @@ import { defineConfig } from 'cypress'; const PORT = process.env.PORT || '8000'; +const isWin = process.platform === 'win32'; export default defineConfig({ projectId: 'qikpat', @@ -10,4 +11,8 @@ export default defineConfig({ }, baseUrl: `http://localhost:${PORT}`, }, + retries: { + runMode: 3, + }, + defaultCommandTimeout: isWin ? 60000 : 4000, });