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

9 lines
301 B
TypeScript

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