diff --git a/e2e/paths/05-ticket/20_future.spec.js b/e2e/paths/05-ticket/20_future.spec.js index 9572ac746..23c2db77a 100644 --- a/e2e/paths/05-ticket/20_future.spec.js +++ b/e2e/paths/05-ticket/20_future.spec.js @@ -172,11 +172,8 @@ describe('Ticket Future path', () => { await page.autocompleteSearch(selectors.ticketFuture.tfState, 'Free'); await page.waitToClick(selectors.ticketFuture.submit); await page.waitForNumberOfElements(selectors.ticketFuture.table, 0); - }); - it('should search with problems selected', async () => { await page.waitToClick(selectors.ticketFuture.openAdvancedSearchButton); - await page.clearInput(selectors.ticketFuture.shipped); await page.clearInput(selectors.ticketFuture.tfShipped); await page.clearInput(selectors.ticketFuture.ipt); @@ -184,21 +181,10 @@ describe('Ticket Future path', () => { await page.clearInput(selectors.ticketFuture.state); await page.clearInput(selectors.ticketFuture.tfState); - await page.waitToClick(selectors.ticketFuture.problems); await page.waitToClick(selectors.ticketFuture.submit); await page.waitForNumberOfElements(selectors.ticketFuture.table, 4); }); - it('should search with no problems selected', async () => { - await page.waitToClick(selectors.ticketFuture.openAdvancedSearchButton); - await page.waitToClick(selectors.ticketFuture.problems); - await page.waitToClick(selectors.ticketFuture.submit); - await page.waitForNumberOfElements(selectors.ticketFuture.table, 0); - await page.waitToClick(selectors.ticketFuture.openAdvancedSearchButton); - await page.clearInput(selectors.ticketFuture.problems); - await page.waitToClick(selectors.ticketFuture.submit); - }); - it('should search in smart-table with an ID Origin', async () => { await page.waitToClick(selectors.ticketFuture.tableButtonSearch); await page.write(selectors.ticketFuture.tableId, "13"); @@ -289,7 +275,7 @@ describe('Ticket Future path', () => { await page.waitForNumberOfElements(selectors.ticketFuture.table, 4); }); - it('should check the second ticket and move to the future', async () => { + it('should check the three last tickets and move to the future', async () => { await page.waitToClick(selectors.ticketFuture.multiCheck); await page.waitToClick(selectors.ticketFuture.firstCheck); await page.waitToClick(selectors.ticketFuture.moveButton);