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
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
fix(e2e): add support for setting localStorage before navigating to the page due to new Nav behavior (#579)
Danny Avila10c772c9f24f
diff --git a/e2e/setup/authenticate.ts b/e2e/setup/authenticate.tsindex 40f7728296..9bb9467a4d 100644--- a/e2e/setup/authenticate.ts+++ b/e2e/setup/authenticate.ts@@ -19,6 +19,11 @@ async function authenticate(config: FullConfig, user: User) {await login(page, user);await page.locator('h1:has-text("LibreChat")').waitFor();console.log('🤖: ✔️ user successfully authenticated');+ // Set localStorage before navigating to the page+ await page.context().addInitScript(() => {+ localStorage.setItem('navVisible', 'true');+ });+ console.log('🤖: ✔️ localStorage: set Nav as Visible', storageState);await page.context().storageState({path: storageState as string});console.log('🤖: ✔️ authentication state successfully saved in', storageState);await browser.close();