8 lines
250 B
TypeScript
8 lines
250 B
TypeScript
|
import { expect, test } from '@playwright/test';
|
||
|
|
||
|
test('home page has main and background', async ({ page }) => {
|
||
|
await page.goto('/');
|
||
|
await expect(page.locator('main')).toBeVisible();
|
||
|
await expect(page.locator('#background')).toBeVisible();
|
||
|
});
|