updated selectors
This commit is contained in:
parent
3b1aa7208c
commit
16333e6143
|
@ -8,7 +8,9 @@ export default {
|
||||||
clientsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="client.index"]`,
|
clientsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="client.index"]`,
|
||||||
itemsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="item.index"]`,
|
itemsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="item.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"]`
|
claimsButton: `vn-main-menu [vn-id="apps-menu"] ul > li[ui-sref="claim.index"]`,
|
||||||
|
returnToModuleIndexButton: `a[translate-attr="{title: 'Return to module index'}"]`,
|
||||||
|
acceptVnConfirm: `vn-confirm button[response=ACCEPT]`
|
||||||
},
|
},
|
||||||
moduleAccessView: {
|
moduleAccessView: {
|
||||||
clientsSectionButton: `vn-home a[ui-sref="client.index"]`,
|
clientsSectionButton: `vn-home a[ui-sref="client.index"]`,
|
||||||
|
@ -433,7 +435,31 @@ export default {
|
||||||
detailsButton: `vn-left-menu a[ui-sref="claim.card.detail"]`,
|
detailsButton: `vn-left-menu a[ui-sref="claim.card.detail"]`,
|
||||||
addItemButton: `vn-claim-detail a vn-float-button`
|
addItemButton: `vn-claim-detail a vn-float-button`
|
||||||
},
|
},
|
||||||
|
ordersIndex: {
|
||||||
|
searchResult: `vn-order-index vn-card > div > vn-table > div > vn-tbody > a.vn-tr`,
|
||||||
|
searchResultDate: `vn-order-index vn-table vn-tbody > a:nth-child(1) > vn-td:nth-child(4)`,
|
||||||
|
searchResultAddress: `vn-order-index vn-table vn-tbody > a:nth-child(1) > vn-td:nth-child(6)`,
|
||||||
|
searchOrderInput: `vn-order-index ${components.vnTextfield}`,
|
||||||
|
searchButton: `vn-order-index vn-searchbar vn-icon[icon="search"]`,
|
||||||
|
createOrderButton: `${components.vnFloatButton}`,
|
||||||
|
},
|
||||||
|
createOrderView: {
|
||||||
|
clientAutocomplete: `vn-autocomplete[label="Client"]`,
|
||||||
|
addressAutocomplete: `vn-autocomplete[label="Address"]`,
|
||||||
|
agencyAutocomplete: `vn-autocomplete[label="Agency"]`,
|
||||||
|
landedDatePicker: `vn-date-picker[label="Landed"]`,
|
||||||
|
createButton: `${components.vnSubmit}`,
|
||||||
|
cancelButton: `vn-button[href="#!/client/index"]`
|
||||||
|
},
|
||||||
orderCatalog: {
|
orderCatalog: {
|
||||||
catalogButton: `vn-left-menu a[ui-sref="order.card.catalog"]`
|
catalogButton: `vn-left-menu a[ui-sref="order.card.catalog"]`,
|
||||||
|
orderByAutocomplete: `vn-autocomplete[label="Order by"]`,
|
||||||
|
},
|
||||||
|
orderBasicData: {
|
||||||
|
basicDataButton: `vn-left-menu a[ui-sref="order.card.basicData"]`,
|
||||||
|
clientAutocomplete: `vn-autocomplete[label=Client]`,
|
||||||
|
companyAutocomplete: `vn-autocomplete[label=Company]`,
|
||||||
|
observationInput: `vn-textarea[label="Observation"] textarea`,
|
||||||
|
saveButton: `${components.vnSubmit}`
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue