From 5744410e2c60afafef789ed25369e7e498ab17b2 Mon Sep 17 00:00:00 2001 From: WendyFPM Date: Fri, 13 Sep 2024 19:57:30 -0400 Subject: [PATCH] UpdateMethodInProcessTesting --- pages/processTesting.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/processTesting.js b/pages/processTesting.js index ae23673..9fd50ea 100644 --- a/pages/processTesting.js +++ b/pages/processTesting.js @@ -39,6 +39,7 @@ export class ProcessTesting { cy.iframe(iframeSelector).xpath(selectors.containerSP).click(); cy.iframe(iframeSelector).find(selectors.inputSP).type(`{backspace}${startingPoint}`).should('have.value', startingPoint); cy.iframe(iframeSelector).xpath(selectors.itemSP).should('have.attr', 'aria-label').and('equal', `${startingPoint}. `); + cy.wait(1000); cy.iframe(iframeSelector).find(selectors.inputSP).type('{enter}'); } @@ -85,7 +86,7 @@ export class ProcessTesting { //Cancel button in modal Run Test from Modeler clickOnCancelBtnFromModeler(iframeOption = 'a') { let iframeSelector = iframeOption === 'a' ? selectors.iframeA : selectors.iframeB - cy.iframe(iframeSelector).xpath(selectors.cancelBtn).click(); + cy.iframe(iframeSelector).xpath(selectors.cancelBtn).click({force:true}); } //1C. Modal Run Test (A+B alternatives)