Skip to content

Commit

Permalink
Test e2e change language only before testing german words
Browse files Browse the repository at this point in the history
  • Loading branch information
zeina-idris committed Oct 15, 2019
1 parent a9ee789 commit e84fdeb
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 @@ -43,7 +43,6 @@ describe('my orders', () => {
});

it('shows my orders', () => {
cy.changeLanguage('Deutsch');
cy.createOrder(cartDraft1, orderDraft1);
cy.createOrder(cartDraft2, orderDraft2);
cy.get('[data-test=my-orders-button]', { timeout: 20000 }).click();
Expand All @@ -60,6 +59,7 @@ describe('my orders', () => {
cy.wrap($order)
.find('[data-test=order-number]')
.contains('1234');
cy.changeLanguage('Deutsch');
cy.wrap($order)
.find('[data-test=shipment-state]')
.contains('Versandt');
Expand Down

0 comments on commit e84fdeb

Please sign in to comment.