test(e2e): extract shared playwright helpers
This commit is contained in:
@@ -138,6 +138,8 @@ export async function mockCoreApis(
|
||||
? insufficientCreditsUnlockVoiceResponse
|
||||
: paidImageInsufficientCreditsFlow
|
||||
? insufficientCreditsUnlockImageResponse
|
||||
: paidImageFlow && paidImageRequested && !paidImageUnlocked
|
||||
? insufficientCreditsUnlockImageResponse
|
||||
: {
|
||||
unlocked: true,
|
||||
content: "Unlocked message",
|
||||
|
||||
Reference in New Issue
Block a user