Skip to content

Commit

Permalink
fix: update default playwright test case for lib-project (#12261)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben McCann <[email protected]>
  • Loading branch information
K-Sato1995 and benmccann committed May 28, 2024
1 parent 966cabd commit afd227c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-dingos-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

fix: update default playwright test case for lib-project

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 6 additions & 0 deletions packages/create-svelte/shared/+playwright/tests/test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { expect, test } from '@playwright/test';

test('home page has expected h1', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1')).toBeVisible();
});

0 comments on commit afd227c

Please sign in to comment.