activity-sport-type: e2e test + register spec in playwright config

- e2e/activity-sport-type.test.ts: register → create activity with a sport →
  assert the sport badge renders on the detail page. Passes locally against an
  E2E=true server.
- playwright.config.ts: add the `activity-sport-type` project so the spec
  actually runs (specs only execute if a project testMatch matches them).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-06-12 14:16:58 +02:00
parent 2cb32cd2d3
commit 953c79befe
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
3 changed files with 40 additions and 3 deletions

View file

@ -114,6 +114,14 @@ export default defineConfig({
baseURL: "http://localhost:3000",
},
},
{
name: "activity-sport-type",
testMatch: "activity-sport-type.test.ts",
use: {
...devices["Desktop Chrome"],
baseURL: "http://localhost:3000",
},
},
],
webServer: process.env.CI
? [