Testing tests with Playwright
This commit is contained in:
@@ -8,7 +8,7 @@ test('homepage has title and link', async ({ page }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('get started link', async ({ page }) => {
|
test('get started link', async ({ page }) => {
|
||||||
await page.goto('http://localhost:4173/');
|
await page.goto('http://scott.localhost:5173/');
|
||||||
|
|
||||||
// Click the get started link.
|
// Click the get started link.
|
||||||
await page.getByRole('link', { name: 'Docs' }).click();
|
await page.getByRole('link', { name: 'Docs' }).click();
|
||||||
|
|||||||
Reference in New Issue
Block a user