mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
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
2a4f7e817b
commit
f20f792132
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…
Add table
Add a link
Reference in a new issue