fix: cypress timeouts for improved test performance
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Alex Moreno 2025-04-09 11:29:38 +02:00
parent 0de947cef2
commit e1a5405297
1 changed files with 8 additions and 8 deletions

View File

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