diff --git a/tests/e2e/specs/canvasUsability/cloneImprovement/VerifyThatConfigurationsWereClonedOfIntermediateEvent.cy.js b/tests/e2e/specs/canvasUsability/cloneImprovement/VerifyThatConfigurationsWereClonedOfIntermediateEvent.cy.js index 42ea0f0ce..ce74d7947 100644 --- a/tests/e2e/specs/canvasUsability/cloneImprovement/VerifyThatConfigurationsWereClonedOfIntermediateEvent.cy.js +++ b/tests/e2e/specs/canvasUsability/cloneImprovement/VerifyThatConfigurationsWereClonedOfIntermediateEvent.cy.js @@ -8,7 +8,6 @@ import { nodeTypes } from '../../../support/constants'; describe('Clone Improvement', () => { const initialNumberOfElements = 1; const selectorIntermediateEvent = '[data-type="processmaker.components.nodes.intermediateEvent.Shape"]'; - const selectorStartEvent = '[data-type="processmaker.components.nodes.startEvent.Shape"]'; it('TCP4-2725: Verify that configurations were cloned of Intermediate Event', () => { @@ -57,7 +56,9 @@ describe('Clone Improvement', () => { selectComponentType(selectorIntermediateEvent,'switch-to-intermediate-signal-catch-event'); //Step 4: Clone the Intermediate Event - cy.get('[data-test="clone-button"]').click(); + cy.wait(500); + cy.get('[data-test="clone-button"]').click({ force: true }); + // cy.get('[data-test="clone-button"]').click(); //Validation 1: Verify that Intermediate Event was cloned cy.get(selectorIntermediateEvent).eq(1).should('be.visible');