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

13 lines
363 B
JavaScript
Raw Normal View History

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