From 86e73feeb629835a2f07daa89a03a59d0ebf2359 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 7 Apr 2024 00:41:40 +0200 Subject: Amend E2E test --- tests/general.spec.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/general.spec.js b/tests/general.spec.js index e9d5a45..09d093f 100644 --- a/tests/general.spec.js +++ b/tests/general.spec.js @@ -8,12 +8,12 @@ test('has title', async ({ page }) => { await expect(page).toHaveTitle(/Ed./); }); -// test('get started link', async ({ page }) => { -// await page.goto('https://127.0.0.1:1313/'); +test('our documentation link', async ({ page }) => { + await page.goto('/'); -// // Click the get started link. -// await page.getByRole('link', { name: 'Get started' }).click(); + // Click the "our documentation" link. + await page.getByText('our documentation').click(); -// // Expects page to have a heading with the name of Installation. -// await expect(page.getByRole('heading', { name: 'Installation' })).toBeVisible(); -// }); + // Expects page to have a heading with the name of Documentation. + await expect(page.getByRole('heading', { name: 'Documentation' })).toBeVisible(); +}); -- cgit v1.2.3