mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Dataset Quality] Fix flaky summary test (#186618)
## Summary Closes https://github.com/elastic/kibana/issues/186549
This commit is contained in:
parent
c16c036ac1
commit
e9a224d5b0
2 changed files with 3 additions and 3 deletions
|
@ -49,6 +49,7 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid
|
|||
|
||||
describe('Dataset quality summary', () => {
|
||||
before(async () => {
|
||||
await synthtrace.index(getInitialTestLogs({ to, count: 4 }));
|
||||
await PageObjects.datasetQuality.navigateTo();
|
||||
});
|
||||
|
||||
|
@ -57,8 +58,6 @@ export default function ({ getService, getPageObjects }: DatasetQualityFtrProvid
|
|||
});
|
||||
|
||||
it('shows poor, degraded and good count as 0 and all dataset as healthy', async () => {
|
||||
await synthtrace.index(getInitialTestLogs({ to, count: 4 }));
|
||||
await PageObjects.datasetQuality.refreshTable();
|
||||
const summary = await PageObjects.datasetQuality.parseSummaryPanel();
|
||||
expect(summary).to.eql({
|
||||
datasetHealthPoor: '0',
|
||||
|
|
|
@ -220,7 +220,8 @@ export function DatasetQualityPageObject({ getPageObjects, getService }: FtrProv
|
|||
|
||||
async refreshTable() {
|
||||
const filtersContainer = await testSubjects.find(
|
||||
testSubjectSelectors.datasetQualityFiltersContainer
|
||||
testSubjectSelectors.datasetQualityFiltersContainer,
|
||||
20 * 1000
|
||||
);
|
||||
const refreshButton = await filtersContainer.findByTestSubject(
|
||||
testSubjectSelectors.superDatePickerApplyTimeButton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue