increased default timeout for 1 single test which failed constantly
This commit is contained in:
parent
bdfd7fad22
commit
6289978de8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue