Files
supanextail/tests/basic.spec.ts
2021-10-22 17:10:27 +02:00

8 lines
249 B
TypeScript

import { expect, test } from '@playwright/test';
test('basic test', async ({ page }) => {
await page.goto('https://playwright.dev/');
const title = page.locator('.navbar__inner .navbar__title');
await expect(title).toHaveText('Playwright');
});