[Security Solution] Increase default Cypress timeouts (#144722)

## Summary

The default timeouts are increased:

- Locally: from 20s to 60s
- On CI: from 120s to 150s

Reasoning:

- Locally for some of the devs many tests fail with timeouts pretty often and pretty randomly.
- It looks like on CI flakiness has increased recently.
This commit is contained in:
Georgii Gorbachev 2022-11-07 19:25:58 +01:00 committed by GitHub
parent 21326b1eae
commit ce9a253796
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -9,9 +9,9 @@ import { defineConfig } from 'cypress';
// eslint-disable-next-line import/no-default-export
export default defineConfig({
defaultCommandTimeout: 20000,
execTimeout: 20000,
pageLoadTimeout: 20000,
defaultCommandTimeout: 60000,
execTimeout: 60000,
pageLoadTimeout: 60000,
screenshotsFolder: '../../../target/kibana-security-solution/cypress/screenshots',
trashAssetsBeforeRuns: false,
video: false,

View file

@ -9,9 +9,9 @@ import { defineConfig } from 'cypress';
// eslint-disable-next-line import/no-default-export
export default defineConfig({
defaultCommandTimeout: 120000,
execTimeout: 120000,
pageLoadTimeout: 120000,
defaultCommandTimeout: 150000,
execTimeout: 150000,
pageLoadTimeout: 150000,
numTestsKeptInMemory: 0,
retries: {
runMode: 2,