mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-21 07:23:11 +00:00
🛩️ ci: Allow More Time for Chrome Startup in Client Build Recovery (#16330)
Co-authored-by: Lia <lia@librechat.ai>
(cherry picked from commit 094179f754)
Original-PR: https://github.com/LibreChat-AI/LibreChat/pull/16330
This commit is contained in:
parent
e396ea9c7b
commit
41d76505a1
1 changed files with 5 additions and 3 deletions
|
|
@ -14,8 +14,8 @@ const root = fileURLToPath(new URL('../', import.meta.url));
|
|||
// without requiring a database or identity provider. It does not simulate an active model run.
|
||||
test(
|
||||
'an old tab retains its bundle identity and draft across a worker update',
|
||||
/** Allow setup plus both activations; individual browser waits remain bounded. */
|
||||
{ timeout: 60000 },
|
||||
/** Allow a slow CI browser launch plus both activations; individual browser waits remain bounded. */
|
||||
{ timeout: 90000 },
|
||||
async () => {
|
||||
const temporary = await mkdtemp(path.join(tmpdir(), 'librechat-builds-'));
|
||||
const appHtml = await readFile(path.join(root, 'client/index.html'), 'utf8');
|
||||
|
|
@ -78,7 +78,9 @@ test(
|
|||
browser = await chromium.launch({
|
||||
headless: true,
|
||||
channel: process.env.PLAYWRIGHT_CHANNEL,
|
||||
timeout: 10000,
|
||||
// CI runners can take longer than 10s to start Chrome under contention.
|
||||
// Keep startup independently bounded; page/worker waits still use 10s.
|
||||
timeout: 30000,
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
page.setDefaultTimeout(10000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue