refactor: refs #8862 update timeout settings for Cypress tests
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Benjamin Esteve 2025-04-11 12:43:27 +02:00
parent f3f1ec8039
commit 3a8f6455d3
1 changed files with 8 additions and 8 deletions

View File

@ -12,10 +12,10 @@ if (process.env.CI) {
mochaFile: 'junit/e2e-[hash].xml', mochaFile: 'junit/e2e-[hash].xml',
}; };
timeouts = { timeouts = {
defaultCommandTimeout: 1500, defaultCommandTimeout: 30000,
requestTimeout: 1500, requestTimeout: 30000,
responseTimeout: 3000, responseTimeout: 60000,
pageLoadTimeout: 3000, pageLoadTimeout: 60000,
}; };
} else { } else {
urlHost = 'localhost'; urlHost = 'localhost';
@ -29,10 +29,10 @@ if (process.env.CI) {
inlineAssets: true, inlineAssets: true,
}; };
timeouts = { timeouts = {
defaultCommandTimeout: 500, defaultCommandTimeout: 10000,
requestTimeout: 500, requestTimeout: 10000,
responseTimeout: 1500, responseTimeout: 30000,
pageLoadTimeout: 3000, pageLoadTimeout: 60000,
}; };
} }