mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
parent
3f2a01ef4f
commit
5e6b35b86f
2 changed files with 11 additions and 12 deletions
|
@ -267,7 +267,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should apply correct filter', async () => {
|
it('should apply correct filter', async () => {
|
||||||
await retry.try(async () => {
|
|
||||||
await PageObjects.visChart.filterOnTableCell(1, 3);
|
await PageObjects.visChart.filterOnTableCell(1, 3);
|
||||||
await PageObjects.visChart.waitForVisualizationRenderingStabilized();
|
await PageObjects.visChart.waitForVisualizationRenderingStabilized();
|
||||||
const data = await PageObjects.visChart.getTableVisContent();
|
const data = await PageObjects.visChart.getTableVisContent();
|
||||||
|
@ -278,7 +277,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
describe('metricsOnAllLevels', () => {
|
describe('metricsOnAllLevels', () => {
|
||||||
before(async () => {
|
before(async () => {
|
||||||
|
|
|
@ -419,12 +419,13 @@ export function VisualizeChartPageProvider({ getService, getPageObjects }: FtrPr
|
||||||
public async filterOnTableCell(columnIndex: number, rowIndex: number) {
|
public async filterOnTableCell(columnIndex: number, rowIndex: number) {
|
||||||
await retry.try(async () => {
|
await retry.try(async () => {
|
||||||
const cell = await dataGrid.getCellElement(rowIndex, columnIndex);
|
const cell = await dataGrid.getCellElement(rowIndex, columnIndex);
|
||||||
await cell.focus();
|
await cell.click();
|
||||||
const filterBtn = await testSubjects.findDescendant(
|
const filterBtn = await testSubjects.findDescendant(
|
||||||
'tbvChartCell__filterForCellValue',
|
'tbvChartCell__filterForCellValue',
|
||||||
cell
|
cell
|
||||||
);
|
);
|
||||||
await filterBtn.click();
|
await common.sleep(2000);
|
||||||
|
filterBtn.click();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue