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');
|
const { test, expect } = require('@playwright/test');
|
||||||
|
|
||||||
test('Home page has correct title', async () => {
|
test('Home page has correct title', async ({ page }) => {
|
||||||
const isTrue = true;
|
await page.goto('http://localhost/');
|
||||||
expect(isTrue).toBe(true);
|
const title = await page.title();
|
||||||
|
|
||||||
|
expect(title).toBe('Hello World');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue