Skip to content

Commit

Permalink
[ML] Enable anomaly charts Accessibility tests (elastic#187482)
Browse files Browse the repository at this point in the history
## Summary

Closes elastic#183196 


### Checklist

- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
  • Loading branch information
darnautov authored Jul 5, 2024
1 parent 2849829 commit 503cac3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

for (const testData of testDataList) {
// FLAKY: https://github.com/elastic/kibana/issues/183196
describe.skip(testData.suiteSuffix, function () {
describe(testData.suiteSuffix, function () {
before(async () => {
await ml.api.createAndRunAnomalyDetectionLookbackJob(
testData.jobConfig,
Expand All @@ -98,6 +97,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it('can open job selection flyout', async () => {
await PageObjects.dashboard.clickCreateDashboardPrompt();
await ml.dashboardEmbeddables.assertDashboardIsEmpty();
// FIXME remove sleep when https://github.com/elastic/kibana/issues/187587 if fixed
await PageObjects.common.sleep(3000);
await ml.dashboardEmbeddables.openAnomalyJobSelectionFlyout('ml_anomaly_charts');
await a11y.testAppSnapshot();
});
Expand Down

0 comments on commit 503cac3

Please sign in to comment.