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