Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🛩️ ci: Allow More Time for Chrome Startup in Client Build Recovery (#16330)

lia-by-librechat[bot]41d76505a1f1
diff --git a/e2e/client-build.test.mjs b/e2e/client-build.test.mjs
index 2a7286bd01..dd4c6f058d 100644
--- a/e2e/client-build.test.mjs
+++ b/e2e/client-build.test.mjs
@@ -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);