test(e2e): cover chat send token refresh retry

This commit is contained in:
2026-07-02 12:53:42 +08:00
parent 51987882eb
commit d8a28bb438
8 changed files with 153 additions and 12 deletions
@@ -6,6 +6,7 @@ import {
clearBrowserState,
dismissChatInterruptions,
expectInsufficientCreditsDialog,
expectVipChatSubscriptionUrl,
signInWithEmailAndOpenChat,
} from "../../fixtures/test-helpers";
@@ -53,5 +54,5 @@ test("user sees insufficient credits when unlocking a paid image from fullscreen
.getByRole("button", { name: "Top up now" })
.click();
await expect(page).toHaveURL(/\/subscription\?type=vip&returnTo=chat$/);
await expectVipChatSubscriptionUrl(page);
});