added selectors for #459 e2e lineas de ticket
This commit is contained in:
parent
2fa91ef59d
commit
1d4de8c3bd
|
@ -309,6 +309,13 @@ export default {
|
||||||
ticketSales: {
|
ticketSales: {
|
||||||
saleButton: `vn-menu-item a[ui-sref="ticket.card.sale"]`,
|
saleButton: `vn-menu-item a[ui-sref="ticket.card.sale"]`,
|
||||||
firstSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(1)`,
|
firstSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(1)`,
|
||||||
|
firstSaleThumbnailImage: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(3) > img',
|
||||||
|
firstSaleZoomedImage: 'body > div > div > img',
|
||||||
|
firstSaleQuantity: `vn-textfield[model="sale.quantity"]:nth-child(1) input`,
|
||||||
|
firstSaleID: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(4)',
|
||||||
|
firstSalePrice: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(7)',
|
||||||
|
firstSaleDiscount: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(8)',
|
||||||
|
firstSaleImport: 'vn-ticket-sale:nth-child(1) vn-td:nth-child(9)',
|
||||||
secondSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(2)`
|
secondSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(2)`
|
||||||
},
|
},
|
||||||
ticketTracking: {
|
ticketTracking: {
|
||||||
|
@ -317,6 +324,9 @@ export default {
|
||||||
firstSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(1)`,
|
firstSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(1)`,
|
||||||
secondSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(2)`
|
secondSaleText: `vn-table div > vn-tbody > vn-tr:nth-child(2)`
|
||||||
},
|
},
|
||||||
|
ticketBasicData: {
|
||||||
|
basicDataButton: `vn-menu-item a[ui-sref="ticket.card.data.stepOne"]`
|
||||||
|
},
|
||||||
createStateView: {
|
createStateView: {
|
||||||
stateInput: `vn-autocomplete[field="$ctrl.ticket.stateFk"] > div > div > input`,
|
stateInput: `vn-autocomplete[field="$ctrl.ticket.stateFk"] > div > div > input`,
|
||||||
stateInputOptionOne: `vn-autocomplete[field="$ctrl.ticket.stateFk"] vn-drop-down ul > li:nth-child(1)`,
|
stateInputOptionOne: `vn-autocomplete[field="$ctrl.ticket.stateFk"] vn-drop-down ul > li:nth-child(1)`,
|
||||||
|
@ -324,4 +334,3 @@ export default {
|
||||||
saveStateButton: `${components.vnSubmit}`
|
saveStateButton: `${components.vnSubmit}`
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -29,5 +29,6 @@
|
||||||
"Period cannot be blank": "Period cannot be blank",
|
"Period cannot be blank": "Period cannot be blank",
|
||||||
"The credit must be an integer greater than or equal to zero": "The credit must be an integer greater than or equal to zero",
|
"The credit must be an integer greater than or equal to zero": "The credit must be an integer greater than or equal to zero",
|
||||||
"The grade must be an integer greater than or equal to zero": "The grade must be an integer greater than or equal to zero",
|
"The grade must be an integer greater than or equal to zero": "The grade must be an integer greater than or equal to zero",
|
||||||
"Sample type cannot be blank": "Sample type cannot be blank"
|
"Sample type cannot be blank": "Sample type cannot be blank",
|
||||||
|
"The new quantity should be smaller than the old one": "The new quantity should be smaller than the old one"
|
||||||
}
|
}
|
Loading…
Reference in New Issue