Skip to content

Commit 3c4f206

Browse files
author
Guillaume Chau
committed
test: change timeouts
1 parent dad5fcb commit 3c4f206

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

packages/@vue/cli-ui/tests/e2e/plugins/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ module.exports = (on, config) => {
88
screenshotsFolder: 'tests/e2e/screenshots',
99
videosFolder: 'tests/e2e/videos',
1010
supportFile: 'tests/e2e/support/index.js',
11-
responseTimeout: 10000000,
11+
execTimeout: 1000000,
12+
pageLoadTimeout: 1000000,
13+
requestTimeout: 1000000,
14+
responseTimeout: 1000000,
1215
env: {
1316
cwd: path.resolve(__dirname, '../../../../../test')
1417
}

packages/@vue/cli-ui/tests/e2e/specs/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('Vue project manager', () => {
5757
cy.get('.continue').click()
5858
})
5959
cy.get('.loading-screen .vue-ui-loading-indicator').should('be.visible')
60-
cy.get('.project-home', { timeout: 300000 }).should('be.visible')
60+
cy.get('.project-home', { timeout: 250000 }).should('be.visible')
6161
cy.get('.current-project').should('have.text', 'cli-ui-test')
6262
})
6363
})

packages/@vue/cli-ui/vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module.exports = {
22
pluginOptions: {
33
graphqlMock: false,
44
apolloEngine: false,
5-
graphqlTimeout: 10000000
5+
graphqlTimeout: 1000000
66
}
77
}

packages/@vue/cli/lib/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function ui (options = {}, context = process.cwd()) {
2323
const opts = {
2424
mock: false,
2525
apolloEngine: false,
26-
timeout: 999999999,
26+
timeout: 1000000,
2727
quiet: true,
2828
paths: {
2929
typeDefs: require.resolve('@vue/cli-ui/src/graphql-api/type-defs.js'),

0 commit comments

Comments
 (0)