|
|
@@ -55,13 +55,16 @@ test('Installer', async ({ page }) => {
|
|
|
|
|
|
// Verify / page has content from welcome.md
|
|
|
await expect(
|
|
|
- page.getByRole('heading', { name: /Welcome to GROWI/ }),
|
|
|
+ page.getByRole('heading', { level: 1, name: /Welcome to GROWI/ }),
|
|
|
).toBeVisible();
|
|
|
|
|
|
// Verify /Sandbox page was created with content from sandbox.md
|
|
|
await page.goto('/Sandbox');
|
|
|
await expect(page).toHaveTitle(/Sandbox/);
|
|
|
await expect(
|
|
|
- page.getByRole('heading', { name: /GROWI Sandbox/ }),
|
|
|
+ page.getByRole('heading', {
|
|
|
+ level: 1,
|
|
|
+ name: /Welcome to the GROWI Sandbox/,
|
|
|
+ }),
|
|
|
).toBeVisible();
|
|
|
});
|