diff options
Diffstat (limited to 'tests/general.spec.js')
| -rw-r--r-- | tests/general.spec.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/general.spec.js b/tests/general.spec.js deleted file mode 100644 index 09d093f..0000000 --- a/tests/general.spec.js +++ /dev/null @@ -1,19 +0,0 @@ -// @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('our documentation link', async ({ page }) => { - await page.goto('/'); - - // Click the "our documentation" link. - await page.getByText('our documentation').click(); - - // Expects page to have a heading with the name of Documentation. - await expect(page.getByRole('heading', { name: 'Documentation' })).toBeVisible(); -}); |
