test fixed

This commit is contained in:
Gerard 2018-12-14 13:47:32 +01:00
parent f9b8e03d78
commit 6203abafa6
3 changed files with 3 additions and 3 deletions

View File

@ -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');
});

View File

@ -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();

View File

@ -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();