e2e ticket selector fix
This commit is contained in:
parent
c2c4aa23cf
commit
ca19293726
|
@ -275,10 +275,10 @@ export default {
|
|||
barcode: `vn-item-summary vn-vertical[name="barcode"]`
|
||||
},
|
||||
ticketsIndex: {
|
||||
createTicketButton: `${components.vnFloatButton}`,
|
||||
searchResult: `table > tbody > tr`,
|
||||
searchTicketInput: `${components.vnTextfield}`,
|
||||
searchButton: `vn-searchbar vn-icon-button[icon="search"]`
|
||||
createTicketButton: `vn-ticket-index ${components.vnFloatButton}`,
|
||||
searchResult: `vn-ticket-index vn-card > div > table > tbody > tr`,
|
||||
searchTicketInput: `vn-ticket-index ${components.vnTextfield}`,
|
||||
searchButton: `vn-ticket-index vn-searchbar vn-icon-button[icon="search"]`
|
||||
},
|
||||
ticketNotes: {
|
||||
notesButton: `vn-menu-item a[ui-sref="ticket.card.observation"]`,
|
||||
|
|
|
@ -89,13 +89,13 @@ describe('Client', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should confirm Received LCR checkbox is unchecked', () => {
|
||||
it('should confirm Received LCR checkbox is checked', () => {
|
||||
return nightmare
|
||||
.evaluate(selector => {
|
||||
return document.querySelector(selector).checked;
|
||||
}, selectors.clientPayMethod.receivedCoreLCRCheckbox)
|
||||
.then(value => {
|
||||
expect(value).toBeFalsy();
|
||||
expect(value).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue