descriptor path fix
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-11-17 17:19:22 +01:00
parent 7dc8ae9dbc
commit 71f0a19320
1 changed files with 1 additions and 0 deletions

View File

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