increased default timeout for 1 single test which failed constantly

This commit is contained in:
Carlos Jimenez Ruiz 2019-03-06 11:40:37 +01:00
parent bdfd7fad22
commit 6289978de8
1 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ describe('Ticket services path', () => {
beforeAll(() => {
nightmare
.loginAndModule('employee', 'ticket')
.accessToSearchResult('id:1')
.accessToSearchResult('1')
.accessToSection('ticket.card.service');
});
@ -17,13 +17,14 @@ describe('Ticket services path', () => {
.write(selectors.ticketService.firstDescriptionInput, 'my service')
.clearInput(selectors.ticketService.firstQuantityInput)
.write(selectors.ticketService.firstQuantityInput, 99)
.clearInput(selectors.ticketService.firstPriceInput)
.write(selectors.ticketService.firstPriceInput, 999)
.autocompleteSearch(selectors.ticketService.firstVatTypeAutocomplete, 'General VAT')
.waitToClick(selectors.ticketService.saveServiceButton)
.waitForLastSnackbar();
expect(result).toEqual('Data saved!');
});
}, 15000);
it('should confirm the service description was edited correctly', async() => {
const result = await nightmare