Skip to content

Commit

Permalink
Adding new 'Connect' test flow to validate that Connect gets added to…
Browse files Browse the repository at this point in the history
… the required products
  • Loading branch information
jst-cyr committed Mar 18, 2024
1 parent 63bfac5 commit c902a54
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions cypress/e2e/OutcomeFlow/outcome.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,27 @@ describe('Outcome Page', () => {
cy.get('#required-products').children().should('contain', 'CDP');
cy.get('#required-products').children().should('contain', 'Send');
});

it('require connect', () => {
cy.visit('/');
cy.get('#start').click();
cy.get('[value="Developer"]').click();
cy.get(':nth-child(9) > .chakra-button').click();
cy.get('.chakra-container > :nth-child(3) > .chakra-button').click();
cy.get('[value="xm"]').click();
cy.get('[value="nosecuredpages"]').click();
cy.get('[value="search-no"]').click();
cy.get('[value="xp-connect-sfmc"]').click();
cy.get('.css-gmuwbf > .chakra-button').click();
cy.get('[value="scs"]').click();
cy.get('[value="vuejs"]').click();
cy.get('.css-gmuwbf > .chakra-button').click();
cy.get('[value="yesexperienceedge"]').click();
cy.wait(5000);
cy.get('.chakra-modal__close-btn').click();
cy.get('#required-products').should('exist').children().should('have.length', 2);
cy.get('#required-products').children().should('contain', 'XM Cloud');
cy.get('#required-products').children().should('contain', 'Connect');
cy.get('#shareButton').click();
});
});

0 comments on commit c902a54

Please sign in to comment.