mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-03-09 00:10:31 -07:00
Update timeouts.ts
This commit is contained in:
parent
bd588f2550
commit
bdc2825861
1 changed files with 6 additions and 6 deletions
|
|
@ -18,19 +18,19 @@ const isCI = Boolean(process.env.CI);
|
|||
/**
|
||||
* Timeout for Playwright waitForSelector and similar operations
|
||||
* These are internal timeouts for finding elements, not Cucumber step timeouts
|
||||
* Local: 5s, CI: 10s
|
||||
* Local: 5s, CI: 25s
|
||||
*/
|
||||
export const PLAYWRIGHT_TIMEOUT = isCI ? 10000 : 5000;
|
||||
export const PLAYWRIGHT_TIMEOUT = isCI ? 25000 : 5000;
|
||||
|
||||
/**
|
||||
* Shorter timeout for operations that should be very fast
|
||||
* Local: 3s, CI: 6s
|
||||
* Local: 3s, CI: 15s
|
||||
*/
|
||||
export const PLAYWRIGHT_SHORT_TIMEOUT = isCI ? 6000 : 3000;
|
||||
export const PLAYWRIGHT_SHORT_TIMEOUT = isCI ? 15000 : 3000;
|
||||
|
||||
/**
|
||||
* Timeout for waiting log markers
|
||||
* Internal wait should be shorter than step timeout to allow proper error reporting
|
||||
* Local: 3s, CI: 6s
|
||||
* Local: 3s, CI: 15s
|
||||
*/
|
||||
export const LOG_MARKER_WAIT_TIMEOUT = isCI ? 6000 : 3000;
|
||||
export const LOG_MARKER_WAIT_TIMEOUT = isCI ? 15000 : 3000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue