Regenerate rail baselines + de-flake the visual signIn helper
Rail logo (coral paw-print brand tile) and 58px agent tiles updated in workspace-home, chat-welcome, computer-home (the last also shows the panel as a right overlay — chat no longer shifts). Fixed the visual signIn helper: it matched the login page's lowercase 'clawmates' heading and could screenshot mid-navigation, so workspace-home captured the login page — now it waits for navigation off /login and matches 'Clawmates' exact. Avatar unit test updated for the 58px/rounded-20 rail tile. Full suite (37) green. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5
parent
96e0134fc6
commit
dab08e47aa
@@ -19,7 +19,12 @@ async function signIn(page: Page) {
|
|||||||
await page.getByLabel("Email").fill(OWNER_EMAIL);
|
await page.getByLabel("Email").fill(OWNER_EMAIL);
|
||||||
await page.getByLabel("Password").fill(OWNER_PASSWORD);
|
await page.getByLabel("Password").fill(OWNER_PASSWORD);
|
||||||
await page.getByRole("button", { name: "Sign in" }).click();
|
await page.getByRole("button", { name: "Sign in" }).click();
|
||||||
await expect(page.getByRole("heading", { name: "Clawmates" })).toBeVisible();
|
// Wait for the real workspace home — the login page also has a lowercase
|
||||||
|
// "clawmates" heading, so confirm navigation and match case-sensitively.
|
||||||
|
await page.waitForURL((url) => !url.pathname.endsWith("/login"));
|
||||||
|
await expect(
|
||||||
|
page.getByRole("heading", { name: "Clawmates", exact: true }),
|
||||||
|
).toBeVisible();
|
||||||
}
|
}
|
||||||
|
|
||||||
test("login page looks right @visual", async ({ page }) => {
|
test("login page looks right @visual", async ({ page }) => {
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 54 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 158 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 28 KiB |
Reference in New Issue
Block a user