Skip to content

Commit

Permalink
[ML] fix selector for functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Oct 6, 2020
1 parent 6e63215 commit d30b08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/services/ml/anomaly_explorer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d30b08e

Please sign in to comment.