chore(landing.spec.js): comment out title expectation and update landing title text

This commit is contained in:
Daniel Avila 2023-04-06 19:39:19 -04:00
parent 3f42db4956
commit 8a243e12fb

View file

@ -2,6 +2,6 @@ import {expect, test} from '@playwright/test';
test('landing page', async ({page}) => {
await page.goto('http://localhost:3080/');
expect (await page.title()).toBe('New Chat');
// expect (await page.title()).toBe('ChatGPT Clone');
expect (await page.textContent('#landing-title')).toBe('ChatGPT Clone');
});