dashboard/cypress/support/utils/timeouts.ts

20 lines
575 B
TypeScript

/**
* Long timeout to use when a test requires longer for something to change in the UI
*/
export const LONG_TIMEOUT_OPT = { timeout: 60000 };
/**
* Extra long timeout to use when a test requires even longer for something to change in the UI
*/
export const EXTRA_LONG_TIMEOUT_OPT = { timeout: 90000 };
/**
* Timeout used when rancher is restarting
*/
export const RESTART_TIMEOUT_OPT = { timeout: 120000 };
/**
* Medium timeout to use when a test requires a little longer for something to change in the UI
*/
export const MEDIUM_TIMEOUT_OPT = { timeout: 30000 };