diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2024-04-07 10:36:10 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2024-04-07 10:42:25 +0200 |
| commit | a05465ad1cefacdf09fbf05b88715376102a9837 (patch) | |
| tree | ded86df5e41e31e36620f5187d7fdd9eb670bbfe /tests/general.spec.js | |
| parent | 86e73feeb629835a2f07daa89a03a59d0ebf2359 (diff) | |
| download | gohugo-theme-ed-a05465ad1cefacdf09fbf05b88715376102a9837.tar.gz | |
Amend tests
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(); -}); |
