diff --git a/x-pack/test/functional/services/ml/anomaly_explorer.ts b/x-pack/test/functional/services/ml/anomaly_explorer.ts index 1a6d5cd09f2e..fd430059f9f4 100644 --- a/x-pack/test/functional/services/ml/anomaly_explorer.ts +++ b/x-pack/test/functional/services/ml/anomaly_explorer.ts @@ -88,7 +88,7 @@ export function MachineLearningAnomalyExplorerProvider({ getService }: FtrProvid ); await testSubjects.clickWhenNotDisabled('mlAddAndEditDashboardButton'); const embeddable = await testSubjects.find('mlAnomalySwimlaneEmbeddableWrapper'); - const swimlane = await embeddable.findByClassName('ml-swimlanes'); + const swimlane = await embeddable.findByClassName('mlSwimLaneContainer'); expect(await swimlane.isDisplayed()).to.eql( true, 'Anomaly swimlane should be displayed in dashboard'