fixed broken e2e
This commit is contained in:
parent
5f850e76e2
commit
2037c3e1dd
|
@ -385,7 +385,7 @@ export default {
|
||||||
ticketTracking: {
|
ticketTracking: {
|
||||||
trackingButton: `vn-left-menu a[ui-sref="ticket.card.tracking.index"]`,
|
trackingButton: `vn-left-menu a[ui-sref="ticket.card.tracking.index"]`,
|
||||||
createStateButton: `${components.vnFloatButton}`,
|
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}`,
|
saveButton: `${components.vnSubmit}`,
|
||||||
cancelButton: `vn-ticket-tracking-edit vn-button[ui-sref="ticket.card.tracking.index"]`
|
cancelButton: `vn-ticket-tracking-edit vn-button[ui-sref="ticket.card.tracking.index"]`
|
||||||
},
|
},
|
||||||
|
@ -450,7 +450,7 @@ export default {
|
||||||
claimBasicData: {
|
claimBasicData: {
|
||||||
basicDataButton: `vn-left-menu a[ui-sref="claim.card.basicData"]`,
|
basicDataButton: `vn-left-menu a[ui-sref="claim.card.basicData"]`,
|
||||||
claimStateAutocomplete: 'vn-claim-basic-data vn-autocomplete[field="$ctrl.claim.claimStateFk"]',
|
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`,
|
responsabilityInputRange: `vn-input-range`,
|
||||||
observationInput: `vn-textarea[label="Observation"] textarea`,
|
observationInput: `vn-textarea[label="Observation"] textarea`,
|
||||||
saveButton: `${components.vnSubmit}`
|
saveButton: `${components.vnSubmit}`
|
||||||
|
|
|
@ -11,7 +11,7 @@ describe('Ticket Edit sale path', () => {
|
||||||
.accessToSection('ticket.card.sale');
|
.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
|
const url = await nightmare
|
||||||
.waitToClick(selectors.ticketSales.secondSaleClaimId)
|
.waitToClick(selectors.ticketSales.secondSaleClaimId)
|
||||||
.wait(selectors.claimBasicData.claimStateAutocomplete)
|
.wait(selectors.claimBasicData.claimStateAutocomplete)
|
||||||
|
|
Loading…
Reference in New Issue