diff --git a/e2e/paths/ticket-module/03_list_sale.spec.js b/e2e/paths/ticket-module/03_list_sale.spec.js index da466c789..84fe9f166 100644 --- a/e2e/paths/ticket-module/03_list_sale.spec.js +++ b/e2e/paths/ticket-module/03_list_sale.spec.js @@ -68,7 +68,7 @@ describe('Ticket List sale path', () => { .wait(selectors.ticketSales.firstSaleText) .getInnerText(selectors.ticketSales.firstSalePrice) .then(value => { - expect(value).toContain('€9.10'); + expect(value).toContain('9.10'); }); }); @@ -104,7 +104,7 @@ describe('Ticket List sale path', () => { .wait(selectors.ticketSales.secondSaleText) .getInnerText(selectors.ticketSales.secondSalePrice) .then(value => { - expect(value).toContain('€1.07'); + expect(value).toContain('1.07'); }); }); diff --git a/e2e/paths/ticket-module/06_edit_basic_data_steps.spec.js b/e2e/paths/ticket-module/06_edit_basic_data_steps.spec.js index 98d43127a..f6501326d 100644 --- a/e2e/paths/ticket-module/06_edit_basic_data_steps.spec.js +++ b/e2e/paths/ticket-module/06_edit_basic_data_steps.spec.js @@ -120,7 +120,7 @@ describe('Ticket', () => { return nightmare .getInnerText(selectors.ticketBasicData.stepTwoTotalPriceDif) .then(result => { - expect(result).toContain('-€20.65'); + expect(result).toContain('-20.65'); }); }); diff --git a/e2e/paths/ticket-module/07_edit_sale.spec.js b/e2e/paths/ticket-module/07_edit_sale.spec.js index d48dc74ed..24a88c953 100644 --- a/e2e/paths/ticket-module/07_edit_sale.spec.js +++ b/e2e/paths/ticket-module/07_edit_sale.spec.js @@ -60,7 +60,7 @@ describe('Ticket Edit sale path', () => { .wait(selectors.ticketSales.firstSaleText) .getInnerText(selectors.ticketSales.firstSalePrice) .then(value => { - expect(value).toEqual('€9.10'); + expect(value).toContain('9.10'); }); }); @@ -78,7 +78,7 @@ describe('Ticket Edit sale path', () => { .wait(selectors.ticketSales.firstSaleText) .getInnerText(selectors.ticketSales.firstSaleImport) .then(value => { - expect(value).toEqual('€45.50'); + expect(value).toContain('45.50'); }); }); @@ -218,7 +218,7 @@ describe('Ticket Edit sale path', () => { return nightmare .getInnerText(selectors.ticketSales.firstSalePrice) .then(result => { - expect(result).toContain('€5.00'); + expect(result).toContain('5.00'); }); }); @@ -226,7 +226,7 @@ describe('Ticket Edit sale path', () => { return nightmare .getInnerText(selectors.ticketSales.firstSaleImport) .then(result => { - expect(result).toContain('€20.00'); + expect(result).toContain('20.00'); }); }); @@ -253,10 +253,10 @@ describe('Ticket Edit sale path', () => { it('should confirm the total import for that item have been updated', () => { return nightmare - .waitForTextInElement(selectors.ticketSales.firstSaleImport, '€10.00') + .waitForTextInElement(selectors.ticketSales.firstSaleImport, '10.00') .getInnerText(selectors.ticketSales.firstSaleImport) .then(result => { - expect(result).toContain('€10.00'); + expect(result).toContain('10.00'); }); }); @@ -544,10 +544,10 @@ describe('Ticket Edit sale path', () => { .wait(selectors.ticketSales.moreMenuUpdateDiscountInput) .type(selectors.ticketSales.moreMenuUpdateDiscountInput, 100) .type('body', '\u000d') // simulates enter - .waitForTextInElement(selectors.ticketSales.totalImport, '€0.00') + .waitForTextInElement(selectors.ticketSales.totalImport, '0.00') .getInnerText(selectors.ticketSales.totalImport) .then(result => { - expect(result).toEqual('€0.00'); + expect(result).toContain('0.00'); }); });