From 82b406be5ffaa2468ea2e21f1b636d8936f661fe Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Mon, 14 Oct 2019 11:51:26 +0200 Subject: [PATCH] fixed e2e --- e2e/helpers/selectors.js | 2 +- e2e/paths/05-ticket-module/13_services.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index 81ad3a0dcf..32b081732f 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -429,7 +429,7 @@ export default { firstSaleDiscountInput: 'vn-ticket-sale:nth-child(1) vn-ticket-sale-edit-discount vn-input-number input', firstSaleImport: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(9)', firstSaleReservedIcon: 'vn-ticket-sale vn-tr:nth-child(1) > vn-td:nth-child(2) > vn-icon:nth-child(3)', - firstSaleColour: 'vn-tr:nth-child(1) vn-fetched-tags section', + firstSaleColour: 'vn-ticket-sale vn-tr:nth-child(1) vn-fetched-tags section', firstSaleLength: 'vn-ticket-sale vn-tr:nth-child(1) vn-td-editable:nth-child(6) section:nth-child(3)', firstSaleCheckbox: 'vn-ticket-sale vn-tr:nth-child(1) vn-check[ng-model="sale.checked"]', secondSaleColour: 'vn-tr:nth-child(2) vn-fetched-tags section', diff --git a/e2e/paths/05-ticket-module/13_services.spec.js b/e2e/paths/05-ticket-module/13_services.spec.js index f9deb6c936..31d2627782 100644 --- a/e2e/paths/05-ticket-module/13_services.spec.js +++ b/e2e/paths/05-ticket-module/13_services.spec.js @@ -78,7 +78,7 @@ describe('Ticket services path', () => { .waitToClick(selectors.ticketService.saveDescriptionButton) .waitForLastSnackbar(); - expect(result).toEqual(`can't be blank`); + expect(result).toEqual(`Name can't be empty`); }); it('should create a new description then add price then create the service', async() => {