PWA Settings
Fixed webmanifest generation and pwa icon. Made nav bar text optional.
This commit is contained in:
23 files changed
+1065
-91
No files matched your search
+8
-1
@@ -35,7 +35,14 @@ export async function signIn(page: Page, email: string, password: string): Promi
|
||||
await page.getByLabel("Email Address").fill(email);
|
||||
await page.getByLabel("Password", { exact: true }).fill(password);
|
||||
await page.getByRole("button", { name: "Sign In", exact: true }).click();
|
||||
await expect(page).toHaveURL(/\/home/);
|
||||
// Not asserting a specific destination here — a bare sign-in (no
|
||||
// callbackUrl, which this helper never sets) now lands on a role-aware
|
||||
// page (customer -> /home, barber -> /staff, owner/super admin ->
|
||||
// /owner or /owner/calendar; see src/app/page.tsx), not uniformly
|
||||
// /home. Every caller already `page.goto()`s to the specific route it
|
||||
// needs right after this — this just confirms sign-in actually
|
||||
// succeeded and navigated away from the form.
|
||||
await expect(page).not.toHaveURL(/\/sign-in/);
|
||||
}
|
||||
|
||||
function section(page: Page, headingName: string) {
|
||||
|
||||
Reference in new issue
Block a user