diff options
Diffstat (limited to 'tests/general.spec.js')
| -rw-r--r-- | tests/general.spec.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/general.spec.js b/tests/general.spec.js new file mode 100644 index 0000000..e9d5a45 --- /dev/null +++ b/tests/general.spec.js @@ -0,0 +1,19 @@ +// @ts-check +const { test, expect } = require('@playwright/test'); + +test('has title', async ({ page }) => { + await page.goto('/'); + + // Expect a title "to contain" a substring. + await expect(page).toHaveTitle(/Ed./); +}); + +// test('get started link', async ({ page }) => { +// await page.goto('https://127.0.0.1:1313/'); + +// // Click the get started link. +// await page.getByRole('link', { name: 'Get started' }).click(); + +// // Expects page to have a heading with the name of Installation. +// await expect(page.getByRole('heading', { name: 'Installation' })).toBeVisible(); +// }); |
