mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Discover] Unskip context filters tests (#154562)
Closes https://github.com/elastic/kibana/issues/154387 250x https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2147
This commit is contained in:
parent
904ed92c33
commit
ff11323011
2 changed files with 10 additions and 2 deletions
|
@ -20,12 +20,18 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
const filterBar = getService('filterBar');
|
||||
const retry = getService('retry');
|
||||
const browser = getService('browser');
|
||||
const kibanaServer = getService('kibanaServer');
|
||||
|
||||
const PageObjects = getPageObjects(['common', 'context']);
|
||||
const testSubjects = getService('testSubjects');
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/154387
|
||||
describe.skip('context filters', function contextSize() {
|
||||
describe('context filters', function contextSize() {
|
||||
before(async function () {
|
||||
await kibanaServer.uiSettings.update({
|
||||
'discover:rowHeightOption': 0, // to have more grid rows visible at once
|
||||
});
|
||||
});
|
||||
|
||||
beforeEach(async function () {
|
||||
await PageObjects.context.navigateTo(TEST_INDEX_PATTERN, TEST_ANCHOR_ID, {
|
||||
columns: TEST_COLUMN_NAMES,
|
||||
|
|
|
@ -207,6 +207,8 @@ export class DataGridService extends FtrService {
|
|||
? '~docTableExpandToggleColumnAnchor'
|
||||
: '~docTableExpandToggleColumn';
|
||||
const toggle = await row[0].findByTestSubject(testSubj);
|
||||
|
||||
await toggle.scrollIntoViewIfNecessary();
|
||||
await toggle.click();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue