mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
feat: Frontend app title environment variable (#291)
* Add app name change support * fix indentation
This commit is contained in:
parent
782a899ab3
commit
44ea3601c9
6 changed files with 75 additions and 57 deletions
|
|
@ -1,7 +1,8 @@
|
|||
import {expect, test} from '@playwright/test';
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test('landing page', async ({page}) => {
|
||||
|
||||
test('landing page', async ({ page }) => {
|
||||
await page.goto('http://localhost:3080/');
|
||||
// expect (await page.title()).toBe('ChatGPT Clone');
|
||||
expect (await page.textContent('#landing-title')).toBe('ChatGPT Clone');
|
||||
expect(await page.textContent('#landing-title')).toBe(import.meta.env.VITE_APP_TITLE || "ChatGPT Clone");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue