Skip to content

Commit

Permalink
Add set time out in cart detail page for discount code button
Browse files Browse the repository at this point in the history
  • Loading branch information
zeina-idris committed Oct 16, 2019
1 parent 85682b3 commit 84d1a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/cartDetailPage_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('CartDetailPage', () => {

cy.get('[data-test=discount-code-input]')
.type('SUNRISE_CI');
cy.get('[data-test=apply-discount-code-button]')
cy.get('[data-test=apply-discount-code-button]', { timeout: 10000 })
.click();
cy.get('[data-test=cart-total-price]')
.contains(/^\s*99,50\s\s*$/);
Expand Down

0 comments on commit 84d1a13

Please sign in to comment.