Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: improve clear cart core e2e tests #15886

Merged
merged 12 commits into from
Jun 27, 2022
1 change: 1 addition & 0 deletions projects/storefrontapp-e2e-cypress/cypress/helpers/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export function registerSaveCartRoute() {
}

export function closeAddedToCartDialog() {
cy.get('div.cx-dialog-buttons a.btn-primary').should('contain', 'view cart');
cy.get('span > .cx-icon.fa-times').click({ force: true });
}

Expand Down