|
@@ -10,11 +10,4 @@ test('Presentation', async({ page }) => {
|
|
|
// check the content of the h1
|
|
// check the content of the h1
|
|
|
await expect(page.getByRole('application').getByRole('heading', { level: 1 }))
|
|
await expect(page.getByRole('application').getByRole('heading', { level: 1 }))
|
|
|
.toHaveText(/Welcome to GROWI/);
|
|
.toHaveText(/Welcome to GROWI/);
|
|
|
-
|
|
|
|
|
- // forward the slide with keyboard
|
|
|
|
|
- await page.keyboard.press('ArrowRight');
|
|
|
|
|
-
|
|
|
|
|
- // check the content of the h1
|
|
|
|
|
- await expect(page.getByRole('application').getByRole('heading', { level: 1 }))
|
|
|
|
|
- .toHaveText(/What can you do with GROWI?/);
|
|
|
|
|
});
|
|
});
|