diff --git a/e2e/paths/item-module/09_regularize_item.spec.js b/e2e/paths/item-module/09_regularize_item.spec.js index 6739bac680..cc1bbd1c42 100644 --- a/e2e/paths/item-module/09_regularize_item.spec.js +++ b/e2e/paths/item-module/09_regularize_item.spec.js @@ -1,7 +1,7 @@ import selectors from '../../helpers/selectors.js'; import createNightmare from '../../helpers/nightmare'; -xdescribe('Item regularize path', () => { +describe('Item regularize path', () => { const nightmare = createNightmare(); beforeAll(() => { return nightmare @@ -63,10 +63,10 @@ xdescribe('Item regularize path', () => { expect(url.hash).toEqual('#!/ticket/index'); }); - it('should search for the ticket with id 22', async () => { + it('should search for the ticket with alias missing', async () => { const result = await nightmare .wait(selectors.ticketsIndex.searchTicketInput) - .type(selectors.ticketsIndex.searchTicketInput, 'id:22') + .type(selectors.ticketsIndex.searchTicketInput, 'missing') .click(selectors.ticketsIndex.searchButton) .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) .countElement(selectors.ticketsIndex.searchResult); @@ -76,7 +76,7 @@ xdescribe('Item regularize path', () => { it(`should click on the search result to access to the ticket summary`, async () => { const url = await nightmare - .waitForTextInElement(selectors.ticketsIndex.searchResult, '22') + .waitForTextInElement(selectors.ticketsIndex.searchResult, 'Missing') .waitToClick(selectors.ticketsIndex.searchResult) .waitForURL('/summary') .url(); diff --git a/e2e/paths/ticket-module/07_edit_sale.spec.js b/e2e/paths/ticket-module/07_edit_sale.spec.js index ad20b977d4..44a3106734 100644 --- a/e2e/paths/ticket-module/07_edit_sale.spec.js +++ b/e2e/paths/ticket-module/07_edit_sale.spec.js @@ -74,7 +74,7 @@ describe('Ticket Edit sale path', () => { expect(result).toEqual(1); }); - it(`should click on the search result to access to the ticket Sale`, async () => { + it(`should now click on the search result to access to the ticket Sale`, async () => { const url = await nightmare .waitForTextInElement(selectors.ticketsIndex.searchResult, 'address 21') .waitToClick(selectors.ticketsIndex.searchResult) @@ -431,7 +431,7 @@ describe('Ticket Edit sale path', () => { it('should search for a specific created ticket', async () => { const result = await nightmare .wait(selectors.ticketsIndex.searchResult) - .type(selectors.ticketsIndex.searchTicketInput, 'id:22') + .type(selectors.ticketsIndex.searchTicketInput, 'nickname:(address 21) stateFk:2') .click(selectors.ticketsIndex.searchButton) .waitForNumberOfElements(selectors.ticketsIndex.searchResult, 1) .countElement(selectors.ticketsIndex.searchResult); @@ -439,7 +439,7 @@ describe('Ticket Edit sale path', () => { expect(result).toEqual(1); }); - it(`should click on the search result to access to the ticket Sale`, async () => { + it(`should click on the search result to access to the ticket Sale once more`, async () => { const url = await nightmare .waitForTextInElement(selectors.ticketsIndex.searchResult, 'address 21') .waitToClick(selectors.ticketsIndex.searchResult) @@ -616,7 +616,7 @@ describe('Ticket Edit sale path', () => { expect(result).toEqual(1); }); - it(`should click on the search result to access to the ticket Sale`, async () => { + it(`should click on the search result to access to the ticket Sale once again`, async () => { const url = await nightmare .waitForTextInElement(selectors.ticketsIndex.searchResult, 'address 21') .waitToClick(selectors.ticketsIndex.searchResult)