Skip to content

chore: remove stale Playwright smoke test#261

Merged
rubenhensen merged 1 commit into
mainfrom
chore/remove-stale-playwright-smoke-test
Jun 19, 2026
Merged

chore: remove stale Playwright smoke test#261
rubenhensen merged 1 commit into
mainfrom
chore/remove-stale-playwright-smoke-test

Conversation

@dobby-coder

@dobby-coder dobby-coder Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Deletes tests/test.ts — the default SvelteKit template smoke test — and the unused test npm script (option 2 from #217).

The test asserted an h1 of "Welcome to SvelteKit", which the marketing landing page (src/routes/(marketing)/+page.svelte) has not rendered for a long time. Because npm test is not wired into CI (only svelte-check and lint run), the broken assertion was invisible, and the single-test suite gave a false impression of test coverage.

Changes

  • Remove tests/test.ts (the stale stub).
  • Remove the "test": "playwright test" script from package.json.

Kept on purpose

  • playwright.config.ts and the @playwright/test devDependency are retained as scaffolding, since real Playwright/integration coverage is tracked separately in Integration tests #44.

Verification

  • npm run lint (prettier --check . + eslint .) — passes
  • npm run check (svelte-check) — 0 errors, 0 warnings

Closes #217. Related: #44.

The default SvelteKit template smoke test in tests/test.ts asserted an
h1 of "Welcome to SvelteKit", which the marketing landing page has not
rendered for a long time. npm test is not wired into CI, so the failing
assertion was invisible and the single-test suite gave a false
impression of coverage.

Remove tests/test.ts and the unused "test" npm script. Real Playwright
coverage is tracked separately in #44; playwright.config.ts and the
@playwright/test dependency are kept as scaffolding for that work.

Closes #217

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rubenhensen rubenhensen marked this pull request as ready for review June 19, 2026 14:37
@rubenhensen rubenhensen merged commit e410c69 into main Jun 19, 2026
7 checks passed
@rubenhensen rubenhensen deleted the chore/remove-stale-playwright-smoke-test branch June 19, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stale Playwright test asserts SvelteKit template h1 that no longer exists

1 participant