2021-09-14 04:05:38 +08:00
|
|
|
import { test, expect } from '@playwright/test';
|
|
|
|
|
|
|
|
|
|
test('basic test', async ({ page }) => {
|
|
|
|
|
await page.goto('https://playwright.dev/');
|
2021-09-14 04:48:19 +08:00
|
|
|
await page.locator('text=Get started').click();
|
|
|
|
|
await expect(page).toHaveTitle(/Getting started/);
|
2021-09-14 04:05:38 +08:00
|
|
|
});
|