diff --git a/e2e/helpers/selectors.js b/e2e/helpers/selectors.js index e020bdf61..bbe0f219a 100644 --- a/e2e/helpers/selectors.js +++ b/e2e/helpers/selectors.js @@ -385,7 +385,7 @@ export default { ticketTracking: { trackingButton: `vn-left-menu a[ui-sref="ticket.card.tracking.index"]`, createStateButton: `${components.vnFloatButton}`, - stateAutocomplete: 'vn-ticket-tracking-edit vn-autocomplete[field="$ctrl.ticket.stateFk"]', + stateAutocomplete: 'vn-ticket-tracking-edit vn-autocomplete[field="$ctrl.stateFk"]', saveButton: `${components.vnSubmit}`, cancelButton: `vn-ticket-tracking-edit vn-button[ui-sref="ticket.card.tracking.index"]` }, @@ -450,7 +450,7 @@ export default { claimBasicData: { basicDataButton: `vn-left-menu a[ui-sref="claim.card.basicData"]`, claimStateAutocomplete: 'vn-claim-basic-data vn-autocomplete[field="$ctrl.claim.claimStateFk"]', - isPaidWithManaCheckbox: `vn-check[field="$ctrl.claim.isChargedToMana"] > label > input`, + isPaidWithManaCheckbox: 'vn-check[field="$ctrl.claim.isChargedToMana"] > label > input', responsabilityInputRange: `vn-input-range`, observationInput: `vn-textarea[label="Observation"] textarea`, saveButton: `${components.vnSubmit}` diff --git a/e2e/paths/ticket-module/07_edit_sale.spec.js b/e2e/paths/ticket-module/07_edit_sale.spec.js index 239c0e83e..a13afcd26 100644 --- a/e2e/paths/ticket-module/07_edit_sale.spec.js +++ b/e2e/paths/ticket-module/07_edit_sale.spec.js @@ -11,7 +11,7 @@ describe('Ticket Edit sale path', () => { .accessToSection('ticket.card.sale'); }); - it(`should click on the first claim id to navigate over there`, async() => { + it(`should click on the second claim id to navigate over there`, async() => { const url = await nightmare .waitToClick(selectors.ticketSales.secondSaleClaimId) .wait(selectors.claimBasicData.claimStateAutocomplete)