diff --git a/e2e/paths/ticket-module/03_list_sale.spec.js b/e2e/paths/ticket-module/03_list_sale.spec.js index 879231f58..bd7b485c6 100644 --- a/e2e/paths/ticket-module/03_list_sale.spec.js +++ b/e2e/paths/ticket-module/03_list_sale.spec.js @@ -7,7 +7,7 @@ describe('Ticket List sale path', () => { beforeAll(() => { return nightmare .loginAndModule('employee', 'ticket') - .accessToSearchResult('id:1') + .accessToSearchResult('id:8') .accessToSection('ticket.card.sale'); }); diff --git a/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js b/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js index 5f249a794..70335a7b4 100644 --- a/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js +++ b/e2e/paths/ticket-module/05_create_new_tracking_state.spec.js @@ -14,7 +14,7 @@ describe('Ticket', () => { it('should access to the create state view by clicking the create floating button', async () => { let url = await nightmare - .click(selectors.ticketTracking.createStateButton) + .waitToClick(selectors.ticketTracking.createStateButton) .wait(selectors.createStateView.stateInput) .parsedUrl(); 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 cd0244c5c..33d426388 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 @@ -47,7 +47,7 @@ describe('Ticket Edit basic data path', () => { .waitToClick(selectors.ticketBasicData.chargesReason) .waitToClick(selectors.ticketBasicData.chargesReasonFourthOption) .waitForTextInInput(selectors.ticketBasicData.chargesReason, 'No realizar modificaciones en precios') - .click(selectors.ticketBasicData.finalizeButton) + .waitToClick(selectors.ticketBasicData.finalizeButton) .waitForURL('summary') .parsedUrl();