descriptor path fix
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
7dc8ae9dbc
commit
71f0a19320
|
@ -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() => {
|
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.waitToClick(selectors.travelDescriptor.filterByAgencyButton);
|
||||||
await page.waitForState('travel.index');
|
await page.waitForState('travel.index');
|
||||||
|
await page.waitForNumberOfElements(selectors.travelIndex.anySearchResult, 8);
|
||||||
const result = await page.countElement(selectors.travelIndex.anySearchResult);
|
const result = await page.countElement(selectors.travelIndex.anySearchResult);
|
||||||
|
|
||||||
expect(result).toEqual(8);
|
expect(result).toEqual(8);
|
||||||
|
|
Loading…
Reference in New Issue