Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

ci(cypress): Making a mandate payment with large customer user agents (#8790)

Gnanasundari2474995446d02a
diff --git a/cypress-tests/cypress.config.js b/cypress-tests/cypress.config.js
index dce9048339..5c65536a67 100644
--- a/cypress-tests/cypress.config.js
+++ b/cypress-tests/cypress.config.js
@@ -71,9 +71,10 @@ export default defineConfig({
inlineAssets: true,
saveJson: true,
},
- defaultCommandTimeout: 10000,
- pageLoadTimeout: 20000,
- responseTimeout: 30000,
+ defaultCommandTimeout: 15000,
+ pageLoadTimeout: 50000,
+ responseTimeout: 45000,
+ requestTimeout: 30000,
screenshotsFolder: screenshotsFolderName,
video: true,
videoCompression: 32,
diff --git a/cypress-tests/cypress/e2e/configs/Payment/Commons.js b/cypress-tests/cypress/e2e/configs/Payment/Commons.js
index 959e69d0e3..0a48255428 100644
--- a/cypress-tests/cypress/e2e/configs/Payment/Commons.js
+++ b/cypress-tests/cypress/e2e/configs/Payment/Commons.js
@@ -6,7 +6,8 @@ export const customerAcceptance = {
accepted_at: "1963-05-03T04:07:52.723Z",
online: {
ip_address: "127.0.0.1",
- user_agent: "amet irure esse",
+ user_agent:
+ "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/22F76 [FBAN/FBIOS;FBAV/520.0.0.38.101;FBBV/756351453;FBDV/iPhone14,7;FBMD/iPhone;FBSN/iOS;FBSV/18.5;FBSS/3;FBID/phone;FBLC/fr_FR;FBOP/5;FBRV/760683563;IABMV/1]",
},
};
@@ -324,6 +325,14 @@ export const payment_methods_enabled = [
installment_payment_enabled: true,
payment_experience: "invoke_sdk_client",
},
+ {
+ payment_method_type: "skrill",
+ payment_experience: "redirect_to_url",
+ minimum_amount: 1,
+ maximum_amount: 68607706,
+ recurring_enabled: false,
+ installment_payment_enabled: false,
+ },
],
},
];