test fixed
This commit is contained in:
parent
f9b8e03d78
commit
6203abafa6
|
@ -7,7 +7,7 @@ describe('Ticket List sale path', () => {
|
|||
beforeAll(() => {
|
||||
return nightmare
|
||||
.loginAndModule('employee', 'ticket')
|
||||
.accessToSearchResult('id:1')
|
||||
.accessToSearchResult('id:8')
|
||||
.accessToSection('ticket.card.sale');
|
||||
});
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ describe('Ticket', () => {
|
|||
|
||||
it('should access to the create state view by clicking the create floating button', async () => {
|
||||
let url = await nightmare
|
||||
.click(selectors.ticketTracking.createStateButton)
|
||||
.waitToClick(selectors.ticketTracking.createStateButton)
|
||||
.wait(selectors.createStateView.stateInput)
|
||||
.parsedUrl();
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ describe('Ticket Edit basic data path', () => {
|
|||
.waitToClick(selectors.ticketBasicData.chargesReason)
|
||||
.waitToClick(selectors.ticketBasicData.chargesReasonFourthOption)
|
||||
.waitForTextInInput(selectors.ticketBasicData.chargesReason, 'No realizar modificaciones en precios')
|
||||
.click(selectors.ticketBasicData.finalizeButton)
|
||||
.waitToClick(selectors.ticketBasicData.finalizeButton)
|
||||
.waitForURL('summary')
|
||||
.parsedUrl();
|
||||
|
||||
|
|
Loading…
Reference in New Issue