Skip to content

Commit

Permalink
Fix e2e test for order list by increasing time out for order button
Browse files Browse the repository at this point in the history
  • Loading branch information
zeina-idris committed Oct 15, 2019
1 parent e31c9d6 commit a9ee789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/specs/orderList_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('my orders', () => {
cy.changeLanguage('Deutsch');
cy.createOrder(cartDraft1, orderDraft1);
cy.createOrder(cartDraft2, orderDraft2);
cy.get('[data-test=my-orders-button]').click();
cy.get('[data-test=my-orders-button]', { timeout: 20000 }).click();
cy.get('[data-test=order-list]')
.should('have.length', 2)
.eq(0)
Expand Down

0 comments on commit a9ee789

Please sign in to comment.