test(e2e): add paid image insufficient credits flow

This commit is contained in:
2026-07-01 16:01:06 +08:00
parent a52e7f15ff
commit 854a7498b7
3 changed files with 138 additions and 19 deletions
+18
View File
@@ -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: [
{