By converting adding filters to a sequential mode, the test of clicking on a context link in the discover table should no longer be flaky
This commit is contained in:
parent
6f6cc356f9
commit
46bb78ec3e
1 changed files with 4 additions and 6 deletions
|
@ -39,12 +39,10 @@ export default function({ getService, getPageObjects }) {
|
|||
await Promise.all(
|
||||
TEST_COLUMN_NAMES.map(columnName => PageObjects.discover.clickFieldListItemAdd(columnName))
|
||||
);
|
||||
await Promise.all(
|
||||
TEST_FILTER_COLUMN_NAMES.map(async ([columnName, value]) => {
|
||||
await PageObjects.discover.clickFieldListItem(columnName);
|
||||
await PageObjects.discover.clickFieldListPlusFilter(columnName, value);
|
||||
})
|
||||
);
|
||||
for (const [columnName, value] of TEST_FILTER_COLUMN_NAMES) {
|
||||
await PageObjects.discover.clickFieldListItem(columnName);
|
||||
await PageObjects.discover.clickFieldListPlusFilter(columnName, value);
|
||||
}
|
||||
});
|
||||
|
||||
it('should open the context view with the selected document as anchor', async function() {
|
||||
|
|
Loading…
Reference in a new issue