From 23ab0a24ba82004fa449491b4e08698a1de9e6a0 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Sat, 11 Feb 2023 21:04:43 +0100 Subject: feat: Initial commit --- tests/test.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/test.ts (limited to 'tests/test.ts') 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(); +}); -- cgit v1.3