fix(multi-role): enable Maya and Nayeli commercial flows

This commit is contained in:
Codex
2026-07-22 20:49:28 +08:00
parent 163ba78f06
commit a4c4ca6666
8 changed files with 219 additions and 5 deletions
@@ -27,9 +27,12 @@ test("user can log out from the profile after email login", async ({
await expect(page).toHaveURL(/\/auth(?:\?.*)?$/);
await switchToEmailSignIn(page);
await submitEmailLogin(page, { expectedUrl: defaultCharacterChatUrl });
await expect(page.getByRole("button", { name: "Profile" })).toBeVisible();
await page.getByRole("link", { name: "Back to home" }).click();
await expect(page).toHaveURL(
new RegExp(defaultCharacterSplashPath.replace("?", "\\?") + "$"),
);
await page.getByRole("button", { name: "Profile" }).click();
await page.getByRole("button", { name: "Menu" }).click();
await expect(page).toHaveURL(
new RegExp(defaultCharacterProfilePath.replace("?", "\\?") + "$"),
);