From 1eb9849562f8bb4b25c3896b01d72bbe669b1501 Mon Sep 17 00:00:00 2001 From: SimonasB88 Date: Tue, 26 Mar 2024 16:34:21 +0200 Subject: [PATCH] cloudsync validation fixes --- cypress/e2e/ps1785/01_mollie.ps1785.ModuleConfiguration.specs.js | 1 + cypress/e2e/ps8/01_mollie.ps8.ModuleConfiguration.specs.js | 1 + 2 files changed, 2 insertions(+) diff --git a/cypress/e2e/ps1785/01_mollie.ps1785.ModuleConfiguration.specs.js b/cypress/e2e/ps1785/01_mollie.ps1785.ModuleConfiguration.specs.js index 7e2eba91a..82dcb99f9 100755 --- a/cypress/e2e/ps1785/01_mollie.ps1785.ModuleConfiguration.specs.js +++ b/cypress/e2e/ps1785/01_mollie.ps1785.ModuleConfiguration.specs.js @@ -26,6 +26,7 @@ it('C339305: 01 Connecting test API successsfully', () => { .then((text) => { cy.log(text) // Showing and asserting the text that loaded, to ensure the BO is loaded, not crashed with PHP fatals etc. }) + cy.iframe('[id^="uid_"]').find('button').click() // Cloudsync validation cy.get('#MOLLIE_ACCOUNT_SWITCH_on').click({force:true}) cy.get('#MOLLIE_API_KEY_TEST').type((Cypress.env('MOLLIE_TEST_API_KEY')),{delay: 0, log: false}) cy.get('#module_form_submit_btn').click() diff --git a/cypress/e2e/ps8/01_mollie.ps8.ModuleConfiguration.specs.js b/cypress/e2e/ps8/01_mollie.ps8.ModuleConfiguration.specs.js index 6f389b20e..825bcd2e0 100755 --- a/cypress/e2e/ps8/01_mollie.ps8.ModuleConfiguration.specs.js +++ b/cypress/e2e/ps8/01_mollie.ps8.ModuleConfiguration.specs.js @@ -27,6 +27,7 @@ it('C339305: Connecting test API successsfully', () => { .then((text) => { cy.log(text) // Showing and asserting the text that loaded, to ensure the BO is loaded, not crashed with PHP fatals etc. }) + cy.iframe('[id^="uid_"]').find('button').click() // Cloudsync validation cy.get('#MOLLIE_ACCOUNT_SWITCH_on').click({force:true}) cy.get('#MOLLIE_API_KEY_TEST').type((Cypress.env('MOLLIE_TEST_API_KEY')),{delay: 0, log: false}) cy.get('#module_form_submit_btn').click()