Phase 18: Auto timezone detection and ability to change timezone #21

Merged
luckberg merged 38 commits from gsd/phase-18-auto-timezone-detection-and-ability-to-change-timezone into main 2026-06-15 09:55:53 -04:00
Showing only changes of commit 1b4ff3cf93 - Show all commits
+6 -1
View File
@@ -12,7 +12,12 @@
import { test, expect } from '@playwright/test';
test.describe('Admin Timezone section — 18-04 round-trip', () => {
test.beforeEach(async ({ page }) => {
test.beforeEach(async ({ page }, testInfo) => {
// Desktop-only: the admin timezone UI is desktop-focused, and these tests mutate
// the single household_timezone row. global-setup resets that row once per run, so
// running on multiple profiles lets one project's save leak into another project's
// first-run assertions. Restricting to one project keeps the shared state coherent.
test.skip(testInfo.project.name !== 'desktop', 'Admin timezone UI is desktop-only');
await page.goto('/admin');
await expect(page.getByRole('heading', { name: 'Admin Settings' })).toBeVisible();
// Wait for the Timezone section to load (requires the 18-02 GET endpoint)