mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[functional/context] disable flaky test
This commit is contained in:
parent
4d331227c1
commit
5d49d52328
1 changed files with 17 additions and 16 deletions
|
@ -42,21 +42,22 @@ export default function ({ getService, getPageObjects }) {
|
|||
expect(hasOnlyFilteredRows).to.be(true);
|
||||
});
|
||||
|
||||
it('should be toggleable via the filter bar', async function () {
|
||||
const table = await docTable.getTable();
|
||||
|
||||
await filterBar.toggleFilterEnabled(TEST_ANCHOR_FILTER_FIELD);
|
||||
await PageObjects.context.waitUntilContextLoadingHasFinished();
|
||||
|
||||
expect(await filterBar.hasFilter(TEST_ANCHOR_FILTER_FIELD, TEST_ANCHOR_FILTER_VALUE, false)).to.be(true);
|
||||
|
||||
const rows = await docTable.getBodyRows(table);
|
||||
const hasOnlyFilteredRows = (
|
||||
await Promise.all(rows.map(
|
||||
async (row) => await (await docTable.getFields(row))[2].getVisibleText()
|
||||
))
|
||||
).every((fieldContent) => fieldContent === TEST_ANCHOR_FILTER_VALUE);
|
||||
expect(hasOnlyFilteredRows).to.be(false);
|
||||
});
|
||||
// Flaky: https://github.com/elastic/kibana/issues/16002
|
||||
// it('should be toggleable via the filter bar', async function () {
|
||||
// const table = await docTable.getTable();
|
||||
//
|
||||
// await filterBar.toggleFilterEnabled(TEST_ANCHOR_FILTER_FIELD);
|
||||
// await PageObjects.context.waitUntilContextLoadingHasFinished();
|
||||
//
|
||||
// expect(await filterBar.hasFilter(TEST_ANCHOR_FILTER_FIELD, TEST_ANCHOR_FILTER_VALUE, false)).to.be(true);
|
||||
//
|
||||
// const rows = await docTable.getBodyRows(table);
|
||||
// const hasOnlyFilteredRows = (
|
||||
// await Promise.all(rows.map(
|
||||
// async (row) => await (await docTable.getFields(row))[2].getVisibleText()
|
||||
// ))
|
||||
// ).every((fieldContent) => fieldContent === TEST_ANCHOR_FILTER_VALUE);
|
||||
// expect(hasOnlyFilteredRows).to.be(false);
|
||||
// });
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue