bgg-ottawa-sell-club/e2e/test.js

13 lines
353 B
JavaScript
Raw Normal View History

2024-02-09 17:49:22 +00:00
import { expect, test } from '@playwright/test';
for (const url of ['/', '/stats/', '/about/']) {
test(url + ' render', async ({ page }) => {
await page.goto(url);
await expect(
page.getByRole('heading', {
name: 'Ottawa board games for sale and trade',
}),
).toBeVisible();
});
}