Julia Rechkunova 2023-04-19 08:45:26 +02:00 committed by GitHub
parent 904ed92c33
commit ff11323011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -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,

View file

@ -207,6 +207,8 @@ export class DataGridService extends FtrService {
? '~docTableExpandToggleColumnAnchor'
: '~docTableExpandToggleColumn';
const toggle = await row[0].findByTestSubject(testSubj);
await toggle.scrollIntoViewIfNecessary();
await toggle.click();
}