mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-18 16:38:10 +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
|
|
@ -13,7 +13,7 @@ const enterTestKey = async (page: Page, endpoint: string) => {
|
|||
test.describe('Key suite', () => {
|
||||
// npx playwright test --config=e2e/playwright.config.local.ts --headed e2e/specs/keys.spec.ts
|
||||
test('Test Setting and Revoking Keys', async ({ page }) => {
|
||||
await page.goto('http://localhost:3080/', { timeout: 5000 });
|
||||
await page.goto('/', { timeout: 5000 });
|
||||
const endpoint = 'chatGPTBrowser';
|
||||
|
||||
const newTopicButton = page.getByTestId('new-conversation-menu');
|
||||
|
|
@ -50,7 +50,7 @@ test.describe('Key suite', () => {
|
|||
});
|
||||
|
||||
test('Test Setting and Revoking Keys from Settings', async ({ page }) => {
|
||||
await page.goto('http://localhost:3080/', { timeout: 5000 });
|
||||
await page.goto('/', { timeout: 5000 });
|
||||
const endpoint = 'openAI';
|
||||
|
||||
const newTopicButton = page.getByTestId('new-conversation-menu');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue