repo stringclasses 4
values | file_path stringlengths 6 193 | extension stringclasses 23
values | content stringlengths 0 1.73M | token_count int64 0 724k | __index_level_0__ int64 0 10.8k |
|---|---|---|---|---|---|
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - List/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": ... | 264 | 8,606 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - List/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/accounts/list - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[GET]::/accounts/list - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.... | 301 | 8,607 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - List/response.json | .json | []
| 1 | 8,608 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Create/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": ... | 634 | 8,609 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Create/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/accounts - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test("[POST]::/accounts - Content-Type is application/json", function () {
pm.expect(pm.response.headers.get("Content-Type")).to.include(... | 530 | 8,610 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Create/response.json | .json | []
| 1 | 8,611 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Create/event.prerequest.js | .js | 0 | 8,612 | |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Update/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
},
{
"key": "in",
"value": "header",
"type": ... | 691 | 8,613 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Update/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/accounts/:id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/accounts/:id - Content-Type is application/json",
function () {
pm.expect(pm.response.headers.get("Content-Type... | 307 | 8,614 |
hyperswitch | postman/collection-dir/bankofamerica/MerchantAccounts/Merchant Account - Update/response.json | .json | []
| 1 | 8,615 |
hyperswitch | postman/collection-dir/bankofamerica/Health check/New Request/request.json | .json | {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/health",
"host": ["{{baseUrl}}"],
"path": ["health"]
}
}
| 47 | 8,616 |
hyperswitch | postman/collection-dir/bankofamerica/Health check/New Request/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/accounts - Status code is 2xx", function () {
pm.response.to.be.success;
});
| 34 | 8,617 |
hyperswitch | postman/collection-dir/bankofamerica/Health check/New Request/response.json | .json | []
| 1 | 8,618 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Update API Key/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-... | 284 | 8,619 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Update API Key/event.test.js | .js | // Validate status 2xx
pm.test(
"[POST]::/api_keys/:merchant_id/:api_key_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[POST]::/api_keys/:merchant_id/:api_key_id - Content-Type is application/json",
function () ... | 319 | 8,620 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Update API Key/response.json | .json | []
| 1 | 8,621 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/List API Keys/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-T... | 211 | 8,622 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/List API Keys/event.test.js | .js | // Validate status 2xx
pm.test("[GET]::/api_keys/:merchant_id/list - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[GET]::/api_keys/:merchant_id/list - Content-Type is application/json",
function () {
pm.expect(pm.response... | 308 | 8,623 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/List API Keys/response.json | .json | []
| 1 | 8,624 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Create API Key/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Content-... | 275 | 8,625 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Create API Key/event.test.js | .js | // Validate status 2xx
pm.test("[POST]::/api_keys/:merchant_id - Status code is 2xx", function () {
pm.response.to.be.success;
});
// Validate if response header has matching content-type
pm.test(
"[POST]::/api_keys/:merchant_id - Content-Type is application/json",
function () {
pm.expect(pm.response.headers... | 306 | 8,626 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Create API Key/response.json | .json | []
| 1 | 8,627 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Retrieve API Key/request.json | .json | {
"auth": {
"type": "apikey",
"apikey": [
{
"key": "value",
"value": "{{admin_api_key}}",
"type": "string"
},
{
"key": "key",
"value": "api-key",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Content-T... | 238 | 8,628 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Retrieve API Key/event.test.js | .js | // Validate status 2xx
pm.test(
"[GET]::/api_keys/:merchant_id/:api_key_id - Status code is 2xx",
function () {
pm.response.to.be.success;
},
);
// Validate if response header has matching content-type
pm.test(
"[GET]::/api_keys/:merchant_id/:api_key_id - Content-Type is application/json",
function () {
... | 319 | 8,629 |
hyperswitch | postman/collection-dir/bankofamerica/API Key/Retrieve API Key/response.json | .json | []
| 1 | 8,630 |
hyperswitch | docker/fluentd/Dockerfile | none | # docker/fluentd/Dockerfile
FROM fluent/fluentd:v1.16-debian-2
USER root
RUN ["gem", "install", "fluent-plugin-kafka", "--no-document"]
RUN ["gem", "install", "fluent-plugin-opensearch", "--no-document"]
USER fluent
| 69 | 8,633 |
hyperswitch | docker/fluentd/conf/fluent.conf | .conf | # docker/fluentd/conf/fluent.conf
<source>
@type kafka_group
brokers kafka0:29092
consumer_group fluentd
topics hyperswitch-payment-intent-events,hyperswitch-payment-attempt-events,hyperswitch-refund-events,hyperswitch-dispute-events
add_headers false
add_prefix topic
retry_emit_limit 2
</source>
<filt... | 1,366 | 8,634 |
hyperswitch | cypress-tests/package.json | .json | {
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"cypress": "npx cypress open",
"cypress-e2e": "npx cypress run --e2e",
"cypress:ci": "npx cypress run --headless",
"cypress:misc": "cypress run --headless --spec 'cypress/e2e/spec/Misc... | 450 | 8,635 |
hyperswitch | cypress-tests/cypress.config.js | .js | import { defineConfig } from "cypress";
import mochawesome from "cypress-mochawesome-reporter/plugin.js";
import fs from "fs";
let globalState;
// Fetch from environment variable
const connectorId = process.env.CYPRESS_CONNECTOR || "service";
const screenshotsFolderName = `screenshots/${connectorId}`;
const reportNam... | 571 | 8,636 |
hyperswitch | cypress-tests/eslint.config.js | .js | import pluginJs from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import pluginCypress from "eslint-plugin-cypress/flat";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
import globals from "globals";
/** @type {import('eslint').Linter.Config[]} */
export d... | 264 | 8,637 |
hyperswitch | cypress-tests/README.md | .md | # Hyperswitch Cypress Testing Framework <!-- omit in toc -->
## Overview
This is a comprehensive testing framework built with [Cypress](https://cypress.io) to automate testing for [Hyperswitch](https://github.com/juspay/hyperswitch/). The framework supports API testing with features like multiple credential managemen... | 4,280 | 8,638 |
hyperswitch | cypress-tests/package-lock.json | .json | {
"name": "test",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "test",
"version": "1.0.0",
"license": "ISC",
"devDependencies": {
"@eslint/js": "^9.23.0",
"cypress": "^14.2.1",
"cypress-mochawesome-reporter": "^3.8.... | 63,894 | 8,639 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00026-DeletedCustomerPsyncFlow.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - Customer Deletion and Psync", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((... | 2,061 | 8,640 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00011-CreateSingleuseMandate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - SingleUse Mandates flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then(... | 1,196 | 8,641 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00002-CustomerCreate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
let globalState;
describe("Customer Create flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("flush glob... | 122 | 8,642 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00004-NoThreeDSAutoCapture.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - NoThreeDS payment flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((... | 921 | 8,643 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00022-Variations.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
let paymentIntentBody;
let paymentCreateConfirmBody;
describe("Corner cases", () => {
// This is needed to get flush out old da... | 5,062 | 8,644 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00008-SyncPayment.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - Sync payment flow test", () => {
let shouldContinue = true; // variable that will be used to skip tests if a p... | 390 | 8,645 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00007-VoidPayment.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - NoThreeDS Manual payment flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState")... | 1,104 | 8,646 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00006-NoThreeDSManualCapture.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - NoThreeDS Manual payment flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState")... | 1,635 | 8,647 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00016-ThreeDSManualCapture.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - ThreeDS Manual payment flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").t... | 1,770 | 8,648 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00021-UPI.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("UPI Payments - Hyperswitch", () => {
let shouldContinue = true; // variable that will be used to skip tests if a prev... | 1,082 | 8,649 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00000-CoreFlows.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import { payment_methods_enabled } from "../../configs/Payment/Commons";
let globalState;
describe("Core flows", () => {
context("Merchant core flows", () => {
before("seed global state", () => {
cy.task("getG... | 1,214 | 8,650 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00005-ThreeDSAutoCapture.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - ThreeDS payment flow test", () => {
let shouldContinue = true; // variable that will be used to skip tests if ... | 373 | 8,651 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00019-MandatesUsingPMID.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - Mandates using Payment Method Id flow test", () => {
before("seed global state", () => {
cy.task("getGloba... | 3,441 | 8,652 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00015-ZeroAuthMandate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - SingleUse Mandates flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then(... | 1,503 | 8,653 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00013-ListAndRevokeMandate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - List and revoke Mandates flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState")... | 792 | 8,654 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00017-BankTransfers.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Bank Transfers", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
gl... | 417 | 8,655 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00024-ConnectorAgnosticNTID.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import { payment_methods_enabled } from "../../configs/Payment/Commons";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
let connector;
/*
Flow:
- Create Business Profile with c... | 4,554 | 8,656 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00014-SaveCardFlow.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
let saveCardBody;
describe("Card - SaveCard payment flow test", () => {
before("seed global state", () => {
cy.task("getGlo... | 4,113 | 8,657 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00025-SessionCall.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Customer Create flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) =>... | 315 | 8,658 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00020-MandatesUsingNTIDProxy.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
let connector;
describe("Card - Mandates using Network Transaction Id flow test", () => {
before(function () {
// Changed t... | 1,268 | 8,659 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00010-SyncRefund.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - Sync Refund flow test", () => {
let shouldContinue = true; // variable that will be used to skip tests if a pr... | 532 | 8,660 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00001-AccountCreate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
let globalState;
describe("Account Create flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("flush global... | 155 | 8,661 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00012-CreateMultiuseMandate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - MultiUse Mandates flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((... | 1,381 | 8,662 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00028-DynamicFields.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
import { cardCreditEnabled } from "../../configs/PaymentMethodList/Commons";
let globalState;
describe("Dynamic Fields Verification", () => {
co... | 1,004 | 8,663 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00029-IncrementalAuth.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let connector;
let globalState;
describe.skip("[Payment] Incremental Auth", () => {
before("seed global state", () => {
cy.task("getGlobalSt... | 910 | 8,664 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00009-RefundPayment.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Card - Refund flow - No 3DS", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) ... | 9,154 | 8,665 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00018-BankRedirect.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Bank Redirect tests", () => {
afterEach("flush global state", () => {
cy.task("setGlobalState", globalState.data)... | 1,826 | 8,666 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00023-PaymentMethods.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
let saveCardBody;
describe("Payment Methods Tests", () => {
before("seed global state", () => {
cy.task("getGlobalState").t... | 1,690 | 8,667 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00027-BusinessProfileConfigs.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import { payment_methods_enabled } from "../../configs/Payment/Commons";
import getConnectorDetails, * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Config Tests", () => {
before("seed global s... | 2,216 | 8,668 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payment/00003-ConnectorCreate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import { payment_methods_enabled } from "../../configs/Payment/Commons";
import * as utils from "../../configs/Payment/Utils";
let globalState;
describe("Connector Account Create flow test", () => {
before("seed global s... | 296 | 8,669 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00000-AccountCreate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
let globalState;
describe("Account Create flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("flush global... | 155 | 8,670 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00006-PayoutUsingPayoutMethodId.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Payout/Utils";
let globalState;
let payoutBody;
describe("[Payout] Saved Bank transfer", () => {
let shouldContinue = true; // variable that will be used to skip tests if a previous... | 841 | 8,671 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00001-CustomerCreate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
let globalState;
describe("Customer Create flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("flush glob... | 122 | 8,672 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00002-ConnectorCreate.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
let globalState;
describe("Connector Account Create flow test", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("fl... | 134 | 8,673 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00004-BankTransfer.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Payout/Utils";
let globalState;
// TODO: Add test for Bank Transfer - ACH
describe.skip("[Payout] [Bank Transfer - ACH]", () => {
let shouldContinue = true; // variable that will be... | 1,008 | 8,674 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00003-CardTest.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Payout/Utils";
let globalState;
describe("[Payout] Cards", () => {
let shouldContinue = true; // variable that will be used to skip tests if a previous test fails
before("seed gl... | 609 | 8,675 |
hyperswitch | cypress-tests/cypress/e2e/spec/Payout/00005-SavePayout.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Payout/Utils";
let globalState;
let payoutBody;
describe("[Payout] Saved Card", () => {
let shouldContinue = true; // variable that will be used to skip tests if a previous test fai... | 1,610 | 8,676 |
hyperswitch | cypress-tests/cypress/e2e/spec/PaymentMethodList/00000-PaymentMethodListTests.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import {
bankRedirectIdealAndCreditEnabled,
bankRedirectIdealEnabled,
cardCreditEnabled,
cardCreditEnabledInEur,
cardCreditEnabledInUs,
cardCreditEnabledInUsd,
createPaymentBodyWithCurrency,
createPaymentBod... | 5,176 | 8,677 |
hyperswitch | cypress-tests/cypress/e2e/spec/Routing/00000-PriorityRouting.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Routing/Utils";
let globalState;
describe("Priority Based Routing Test", () => {
let shouldContinue = true;
beforeEach(() => {
cy.session("login", () => {
// Make sure ... | 1,327 | 8,678 |
hyperswitch | cypress-tests/cypress/e2e/spec/Routing/00001-VolumeBasedRouting.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Routing/Utils";
let globalState;
describe("Volume Based Routing Test", () => {
// Restore the session if it exists
beforeEach(() => {
cy.session("login", () => {
// Make... | 1,672 | 8,679 |
hyperswitch | cypress-tests/cypress/e2e/spec/Routing/00003-Retries.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Routing/Utils";
let globalState;
describe("Auto Retries & Step Up 3DS", () => {
// Restore the session if it exists
beforeEach(() => {
cy.session("login", () => {
// Mak... | 3,449 | 8,680 |
hyperswitch | cypress-tests/cypress/e2e/spec/Routing/00002-RuleBasedRouting.cy.js | .js | import * as fixtures from "../../../fixtures/imports";
import State from "../../../utils/State";
import * as utils from "../../configs/Routing/Utils";
let globalState;
describe("Rule Based Routing Test", () => {
// Restore the session if it exists
beforeEach(() => {
cy.session("login", () => {
// Make s... | 2,811 | 8,681 |
hyperswitch | cypress-tests/cypress/e2e/spec/Misc/00000-HealthCheck.cy.js | .js | import State from "../../../utils/State";
let globalState;
describe("In Memory Cache configs", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("flush global state", () => {
cy.task("setGlobalState", globalSt... | 113 | 8,682 |
hyperswitch | cypress-tests/cypress/e2e/spec/Misc/00001-MemoryCacheConfigs.cy.js | .js | import State from "../../../utils/State";
let globalState;
describe("In Memory Cache configs", () => {
before("seed global state", () => {
cy.task("getGlobalState").then((state) => {
globalState = new State(state);
});
});
after("flush global state", () => {
cy.task("setGlobalState", globalSt... | 224 | 8,683 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Trustpay.js | .js | import { customerAcceptance } from "./Commons";
import { getCustomExchange } from "./Modifiers";
const successfulNo3DSCardDetails = {
card_number: "4200000000000000",
card_exp_month: "10",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
c... | 2,899 | 8,684 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Iatapay.js | .js | const successfulNo3DSCardDetails = {
card_number: "4111111111111111",
card_exp_month: "03",
card_exp_year: "30",
card_holder_name: "John Doe",
card_cvc: "737",
};
const billingAddress = {
address: {
line1: "1467",
line2: "Harrison Street",
line3: "Harrison Street",
city: "San Fransico",
... | 1,024 | 8,685 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Paybox.js | .js | const successfulNo3DSCardDetails = {
card_number: "1111222233334444",
card_exp_month: "05",
card_exp_year: "27",
card_holder_name: "joseph Doe",
card_cvc: "222",
};
const successfulThreeDSTestCardDetails = {
card_number: "4000000000001091",
card_exp_month: "01",
card_exp_year: "50",
card_holder_name:... | 5,980 | 8,686 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Commons.js | .js | // This file is the default. To override, add to connector.js
import { getCustomExchange } from "./Modifiers";
export const customerAcceptance = {
acceptance_type: "offline",
accepted_at: "1963-05-03T04:07:52.723Z",
online: {
ip_address: "127.0.0.1",
user_agent: "amet irure esse",
},
};
const successf... | 9,999 | 8,687 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Utils.js | .js | import { execConfig, validateConfig } from "../../../utils/featureFlags.js";
import { connectorDetails as adyenConnectorDetails } from "./Adyen.js";
import { connectorDetails as bankOfAmericaConnectorDetails } from "./BankOfAmerica.js";
import { connectorDetails as bluesnapConnectorDetails } from "./Bluesnap.js";
impo... | 2,542 | 8,688 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Checkout.js | .js | const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "50",
card_holder_name:... | 1,679 | 8,689 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Bluesnap.js | .js | import { customerAcceptance } from "./Commons";
const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "10",
card_exp_year: "30",
card_holder_name: "John",
card_cvc: "737",
};
const successfulThreeDSTestCardDetails = {
card_number: "4000000000001091",
card_exp_month: "10",... | 1,706 | 8,690 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Redsys.js | .js | import { getCustomExchange } from "./Modifiers";
const ThreeDSChallengeTestCardDetails = {
card_number: "4548817212493017",
card_exp_month: "12",
card_exp_year: "25",
card_holder_name: "Joseph",
card_cvc: "123",
};
const threeDSFrictionlessTestCardDetails = {
card_number: "4548814479727229",
card_exp_mo... | 2,616 | 8,691 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Adyen.js | .js | import { customerAcceptance } from "./Commons";
import { getCustomExchange } from "./Modifiers";
const successfulNo3DSCardDetails = {
card_number: "4111111111111111",
card_exp_month: "03",
card_exp_year: "30",
card_holder_name: "John Doe",
card_cvc: "737",
};
const successfulThreeDSTestCardDetails = {
car... | 6,295 | 8,692 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/ItauBank.js | .js | export const connectorDetails = {
card_pm: {
ZeroAuthMandate: {
Response: {
status: 400,
body: {
error: {
type: "invalid_request",
message: "setup mandate flow not supported",
code: "IR_20",
},
},
},
},
},
bank_tra... | 399 | 8,693 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Fiuu.js | .js | import { customerAcceptance } from "./Commons";
const successfulNo3DSCardDetails = {
card_number: "5105105105105100",
card_exp_month: "12",
card_exp_year: "2030",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
card_number: "5105105105105100",
card_exp_mont... | 4,467 | 8,694 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Hipay.js | .js | import { customerAcceptance } from "./Commons";
const successfulNo3DSCardDetails = {
card_number: "4111111111111111",
card_exp_month: "06",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const billing_info = {
address: {
line1: "1467",
line2: "CA",
line3: "CA",
ci... | 3,439 | 8,695 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Noon.js | .js | import { customerAcceptance } from "./Commons";
const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "30",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
card_number: "4000000000001091",
card_exp_month:... | 3,879 | 8,696 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Moneris.js | .js | import { customerAcceptance } from "./Commons";
import { getCustomExchange } from "./Modifiers";
const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "27",
card_holder_name: "John",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
card_nu... | 1,703 | 8,697 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Stripe.js | .js | import {
customerAcceptance,
cardRequiredField,
connectorDetails as commonConnectorDetails,
} from "./Commons";
import { getCustomExchange } from "./Modifiers";
const successfulNo3DSCardDetails = {
card_number: "378282246310005",
card_exp_month: "10",
card_exp_year: "50",
card_holder_name: "morino",
ca... | 5,705 | 8,698 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/BankOfAmerica.js | .js | import { customerAcceptance } from "./Commons";
import { getCustomExchange } from "./Modifiers";
const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
c... | 4,865 | 8,699 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Nmi.js | .js | const successfulNo3DSCardDetails = {
card_number: "4000000000002503",
card_exp_month: "08",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "999",
};
const successfulThreeDSTestCardDetails = {
card_number: "4000000000002503",
card_exp_month: "10",
card_exp_year: "50",
card_holder_name:... | 1,944 | 8,700 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Deutschebank.js | .js | const successful3DSCardDetails = {
card_number: "4761739090000088",
card_exp_month: "12",
card_exp_year: "2034",
card_holder_name: "John Doe",
card_cvc: "123",
};
export const connectorDetails = {
card_pm: {
PaymentIntent: {
Request: {
currency: "USD",
customer_acceptance: null,
... | 1,017 | 8,701 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Getnet.js | .js | const successfulNo3DSCardDetails = {
card_number: "5413330300001006",
card_exp_month: "02",
card_exp_year: "2027",
card_holder_name: "John Doe",
card_cvc: "006",
card_network: "Visa",
};
export const connectorDetails = {
card_pm: {
PaymentIntent: {
Request: {
currency: "GBP",
cu... | 1,888 | 8,702 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/WellsFargo.js | .js | import { customerAcceptance } from "./Commons";
const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
const successfulThreeDSTestCardDetails = {
card_number: "4000000000001091",
card_exp_month:... | 2,610 | 8,703 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Jpmorgan.js | .js | const successfulNo3DSCardDetails = {
card_number: "6011016011016011",
card_exp_month: "10",
card_exp_year: "2027",
card_holder_name: "John Doe",
card_cvc: "123",
};
export const connectorDetails = {
card_pm: {
PaymentIntent: {
Request: {
currency: "USD",
customer_acceptance: null,... | 1,137 | 8,704 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Cybersource.js | .js | import {
customerAcceptance,
connectorDetails as commonConnectorDetails,
} from "./Commons";
import { getCustomExchange } from "./Modifiers";
const successfulNo3DSCardDetails = {
card_number: "4242424242424242",
card_exp_month: "01",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
}... | 6,728 | 8,705 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Fiservemea.js | .js | import { customerAcceptance } from "./Commons";
const successfulNo3DSCardDetails = {
card_number: "5204740000001002",
card_exp_month: "10",
card_exp_year: "50",
card_holder_name: "Joseph Doe",
card_cvc: "002",
};
export const connectorDetails = {
card_pm: {
PaymentIntent: {
Request: {
cu... | 931 | 8,706 |
hyperswitch | cypress-tests/cypress/e2e/configs/Payment/Datatrans.js | .js | const successfulNo3DSCardDetails = {
card_number: "4444090101010103",
card_exp_month: "06",
card_exp_year: "50",
card_holder_name: "joseph Doe",
card_cvc: "123",
};
export const connectorDetails = {
card_pm: {
PaymentIntent: {
Request: {
currency: "USD",
customer_acceptance: null,... | 660 | 8,707 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.