mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-29 14:48:51 +01:00
fix(Landing.jsx): add id attribute to landing page title test(landing.spec.js): update landing page title and h1 text content assertions
7 lines
No EOL
239 B
JavaScript
7 lines
No EOL
239 B
JavaScript
import {expect, test} from '@playwright/test';
|
|
|
|
test('landing page', async ({page}) => {
|
|
await page.goto('/');
|
|
expect (await page.title()).toBe('New Chat');
|
|
expect (await page.textContent('#landing-title')).toBe('ChatGPT Clone');
|
|
}); |