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