test(e2e): add paid image insufficient credits flow
This commit is contained in:
@@ -261,6 +261,24 @@ export const insufficientCreditsUnlockVoiceResponse = {
|
||||
},
|
||||
};
|
||||
|
||||
export const insufficientCreditsUnlockImageResponse = {
|
||||
unlocked: false,
|
||||
content: "",
|
||||
reason: "insufficient_balance",
|
||||
creditBalance: 3,
|
||||
creditsCharged: 0,
|
||||
requiredCredits: 30,
|
||||
shortfallCredits: 27,
|
||||
lockDetail: {
|
||||
locked: true,
|
||||
showContent: true,
|
||||
showUpgrade: true,
|
||||
reason: "image",
|
||||
hint: "Unlock this high-definition image with credits.",
|
||||
detail: null,
|
||||
},
|
||||
};
|
||||
|
||||
export const paymentPlansResponse = {
|
||||
plans: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user