mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-13 19:36:16 +01:00
feat(e2e): Fix authentication tests and environment handling
This commit is contained in:
parent
20100e120b
commit
a3bfbf5948
15 changed files with 324 additions and 43 deletions
|
|
@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';
|
|||
|
||||
test.describe('Navigation suite', () => {
|
||||
test('Navigation bar', async ({ page }) => {
|
||||
await page.goto('http://localhost:3080/', { timeout: 5000 });
|
||||
await page.goto('/', { timeout: 5000 });
|
||||
|
||||
await page.getByTestId('nav-user').click();
|
||||
const navSettings = await page.getByTestId('nav-user').isVisible();
|
||||
|
|
@ -10,7 +10,7 @@ test.describe('Navigation suite', () => {
|
|||
});
|
||||
|
||||
test('Settings modal', async ({ page }) => {
|
||||
await page.goto('http://localhost:3080/', { timeout: 5000 });
|
||||
await page.goto('/', { timeout: 5000 });
|
||||
await page.getByTestId('nav-user').click();
|
||||
await page.getByText('Settings').click();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue