Skip to content

Commit

Permalink
Update VerifyThatConfigurationsWereClonedOfIntermediateEvent.cy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjacornelius committed Aug 9, 2023
1 parent 342ebdc commit bc97b01
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {

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

0 comments on commit bc97b01

Please sign in to comment.