diff --git a/tests/Cypress/cypress/e2e/storefront/payment-methods/twint.cy.js b/tests/Cypress/cypress/e2e/storefront/payment-methods/twint.cy.js new file mode 100644 index 000000000..7b5427f04 --- /dev/null +++ b/tests/Cypress/cypress/e2e/storefront/payment-methods/twint.cy.js @@ -0,0 +1,43 @@ +import Devices from "Services/utils/Devices"; +import Session from "Services/utils/Session" +// ------------------------------------------------------ +import PaymentAction from "Actions/storefront/checkout/PaymentAction"; +import DummyBasketScenario from "Scenarios/DummyBasketScenario"; +// ------------------------------------------------------ + + +const devices = new Devices(); +const session = new Session(); + +const paymentAction = new PaymentAction(); +const scenarioDummyBasket = new DummyBasketScenario(1); + +const device = devices.getFirstDevice(); + + +describe('TWINT', () => { + + context(devices.getDescription(device), () => { + + before(function () { + devices.setDevice(device); + }) + + beforeEach(() => { + session.resetBrowserSession(); + devices.setDevice(device); + }); + + it('C1628203: TWINT is existing in checkout', () => { + + scenarioDummyBasket.execute(); + + paymentAction.switchPaymentMethod('TWINT'); + + // payment would only work using currency CHF which cannot be done at the moment + }) + + }) + +}) +