Skip to content

Commit

Permalink
UpdateMethodInProcessTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
WendyFPM committed Sep 13, 2024
1 parent cb946e5 commit 5744410
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/processTesting.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}');
}

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 5744410

Please sign in to comment.