actually check something
This commit is contained in:
parent
498edcb215
commit
e725dce831
1 changed files with 5 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
|||
const { test, expect } = require('@playwright/test');
|
||||
|
||||
test('Home page has correct title', async () => {
|
||||
const isTrue = true;
|
||||
expect(isTrue).toBe(true);
|
||||
test('Home page has correct title', async ({ page }) => {
|
||||
await page.goto('http://localhost/');
|
||||
const title = await page.title();
|
||||
|
||||
expect(title).toBe('Hello World');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue