test(e2e): cover chat send token refresh retry
This commit is contained in:
@@ -5,6 +5,7 @@ import { paidVoiceMessageId } from "../../fixtures/test-data";
|
||||
import {
|
||||
clearBrowserState,
|
||||
expectInsufficientCreditsDialog,
|
||||
expectVipChatSubscriptionUrl,
|
||||
signInWithEmailAndOpenChat,
|
||||
} from "../../fixtures/test-helpers";
|
||||
|
||||
@@ -44,5 +45,5 @@ test("user sees insufficient credits when unlocking a paid voice message and can
|
||||
.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