test(e2e): cover chat send token refresh retry
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user