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);