diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2023-02-11 21:04:43 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2023-02-11 21:04:43 +0100 |
| commit | 23ab0a24ba82004fa449491b4e08698a1de9e6a0 (patch) | |
| tree | d701120d9a77f67153c93149ec7871bfd571bbfb /tests/test.ts | |
| download | auroraklinikken.no-23ab0a24ba82004fa449491b4e08698a1de9e6a0.tar.xz auroraklinikken.no-23ab0a24ba82004fa449491b4e08698a1de9e6a0.zip | |
feat: Initial commit
Diffstat (limited to 'tests/test.ts')
| -rw-r--r-- | tests/test.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test.ts b/tests/test.ts new file mode 100644 index 0000000..5816be4 --- /dev/null +++ b/tests/test.ts @@ -0,0 +1,6 @@ +import { expect, test } from '@playwright/test'; + +test('index page has expected h1', async ({ page }) => { + await page.goto('/'); + await expect(page.getByRole('heading', { name: 'Welcome to SvelteKit' })).toBeVisible(); +}); |
