From 89412893c4855bd367e8b086891eab1faef77976 Mon Sep 17 00:00:00 2001 From: withanage Date: Thu, 7 Nov 2024 19:49:27 +0100 Subject: [PATCH] Add cypress iframe support --- cypress/support/commands_new_workflow.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cypress/support/commands_new_workflow.js b/cypress/support/commands_new_workflow.js index 8dc52ee0a72..40a0d0f37fe 100644 --- a/cypress/support/commands_new_workflow.js +++ b/cypress/support/commands_new_workflow.js @@ -10,6 +10,7 @@ import Api from './api.js'; import 'cypress-file-upload'; import 'cypress-wait-until'; +import 'cypress-iframe' Cypress.Commands.add('setTinyMceContent', (tinyMceId, content) => { cy.window().then((win) => { @@ -964,10 +965,8 @@ Cypress.Commands.add('createUserByInvitation', user => { cy.wait(1000) cy.inviteUser(user); cy.logout(); - cy.confirmEmail(user); cy.wait(1000) - cy.confirmationByUser(user); cy.logout();