Skip to content

Commit

Permalink
test: fix failing consignment-tracking e2e test (#19721)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrozdsap authored Dec 5, 2024
1 parent eeb6c7f commit 870b6a2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ describe('consignment tracking', () => {
cy.get('.btn-track').click();
});
cy.get('.cx-tracking-event-body').should('have.length', 3);
cy.get('.close').click();

cy.get('cx-tracking-events .close').click();
cy.get('.cx-list')
.next()
.first()
Expand All @@ -33,7 +34,7 @@ describe('consignment tracking', () => {
cy.get('.btn-track').click();
});
cy.get('.cx-no-tracking-heading').should('have.length', 1);
cy.get('.close').click();
cy.get('cx-tracking-events .close').click();
cy.get('.cx-list')
.last()
.within(() => {
Expand Down

0 comments on commit 870b6a2

Please sign in to comment.