mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
Playwright setup
This commit is contained in:
parent
6f30b6ec9d
commit
bd94c4233d
7 changed files with 297 additions and 2 deletions
7
e2e/specs/landing.spec.js
Normal file
7
e2e/specs/landing.spec.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import {expect, test} from '@playwright/test';
|
||||
|
||||
test('landing page', async ({page}) => {
|
||||
await page.goto('/');
|
||||
expect (await page.title()).toBe('ChatGPT Clone');
|
||||
expect (await page.textContent('h1')).toBe('ChatGPT Clone');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue