From 71f0a1932037cb33f3627d1ab63471f4199928d4 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 17 Nov 2020 17:19:22 +0100 Subject: [PATCH] descriptor path fix --- e2e/paths/10-travel/03_descriptor.spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/paths/10-travel/03_descriptor.spec.js b/e2e/paths/10-travel/03_descriptor.spec.js index 13b2dfe7a..8567f6a66 100644 --- a/e2e/paths/10-travel/03_descriptor.spec.js +++ b/e2e/paths/10-travel/03_descriptor.spec.js @@ -20,6 +20,7 @@ describe('Travel descriptor path', () => { it('should click the descriptor button to navigate to the travel index showing all travels with current agency', async() => { await page.waitToClick(selectors.travelDescriptor.filterByAgencyButton); await page.waitForState('travel.index'); + await page.waitForNumberOfElements(selectors.travelIndex.anySearchResult, 8); const result = await page.countElement(selectors.travelIndex.anySearchResult); expect(result).toEqual(8);