toma toma toma selectores!

This commit is contained in:
Carlos Jimenez 2018-09-04 11:38:48 +02:00
parent 95a85f84f2
commit eea42ec958
1 changed files with 21 additions and 1 deletions

View File

@ -8,7 +8,8 @@ export default {
applicationsMenuButton: `#apps`,
applicationsMenuVisible: `vn-main-menu [vn-id="apps-menu"] ul`,
clientsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="client.index"]`,
ticketsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="ticket.index"]`
ticketsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="ticket.index"]`,
claimsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="claim.index"]`
},
moduleAccessView: {
clientsSectionButton: `vn-home a[ui-sref="client.index"]`,
@ -338,5 +339,24 @@ export default {
stateInputOptionOne: `vn-autocomplete[field="$ctrl.ticket.stateFk"] vn-drop-down ul > li:nth-child(1)`,
clearStateInputButton: `vn-autocomplete[field="$ctrl.ticket.stateFk"] > div > div > div > vn-icon > i`,
saveStateButton: `${components.vnSubmit}`
},
claimsIndex: {
searchClaimInput: `vn-claim-index ${components.vnTextfield}`,
searchResult: `vn-claim-index vn-card > div > vn-table > div > vn-tbody > vn-tr`,
searchButton: `vn-claim-index vn-searchbar > form > vn-horizontal > vn-icon-button > vn-icon`
},
claimBasicData: {
basicDataButton: `vn-menu-item a[ui-sref="claim.card.basicData"]`,
claimStateSelect: `vn-autocomplete[field="$ctrl.claim.claimStateFk"] input`,
claimStateSelectThirdOption: `vn-autocomplete[field="$ctrl.claim.claimStateFk"] vn-drop-down ul > li:nth-child(3)`,
claimStateSelectFourthOption: `vn-autocomplete[field="$ctrl.claim.claimStateFk"] vn-drop-down ul > li:nth-child(4)`,
isPaidWithManaCheckbox: `vn-check[field="$ctrl.claim.isChargedToMana"] > label > input`,
responsabilityInputRange: `vn-input-range`,
observationInput: `vn-textarea[label="Observation"] textarea`,
saveButton: `${components.vnSubmit}`
},
claimDetails: {
detailsButton: `vn-menu-item a[ui-sref="claim.card.detail"]`,
addItemButton: `vn-claim-detail > vn-vertical > vn-card > div > vn-vertical > vn-one > vn-icon-button > vn-icon > i`
}
};