3 Commits

Author SHA1 Message Date
Gitea Actions 3c071b856d chore: bump version to v0.1.18 2026-05-02 11:14:47 +00:00
david adac558b5c Merge branch 'main' of https://git.notsosm.art/david/euchre_camp
Release / release (push) Failing after 11s
2026-05-02 04:14:37 -07:00
david 5673ec14aa fix: resolve schedule test timing issues (#33)
- Add cache-busting timestamp to schedule page navigation in tests
- Use networkidle instead of load for more reliable page waits
- Simplify tournament admin login step (PostgreSQL-only now)

All 4 issue-7 schedule scenarios now pass consistently.
2026-05-02 04:14:25 -07:00
3 changed files with 12 additions and 4 deletions
+7
View File
@@ -1,3 +1,10 @@
## [0.1.18] - 2026-05-02
### Patch Changes
- Merge branch 'main' of https://git.notsosm.art/david/euchre_camp
- fix: resolve schedule test timing issues (#33)
## [0.1.17] - 2026-05-02
### Patch Changes
+4 -3
View File
@@ -564,9 +564,10 @@ Given('a tournament exists with {int} teams', async function (teamCount: number)
When('I go to the tournament schedule page', async function () {
console.log('🌍 Going to tournament schedule page');
const tournamentId = world.tournament?.id || 1;
await world.page.goto(`${world.baseURL}/admin/tournaments/${tournamentId}/schedule`);
await world.page.waitForLoadState('load');
// Wait for client components to hydrate
// Add cache-busting timestamp to force fresh data
const url = `${world.baseURL}/admin/tournaments/${tournamentId}/schedule?t=${Date.now()}`;
await world.page.goto(url);
await world.page.waitForLoadState('networkidle');
await world.page.waitForTimeout(1000);
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "euchre_camp",
"version": "0.1.17",
"version": "0.1.18",
"private": true,
"scripts": {
"dev": "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short HEAD) next dev",