Skip to content

Commit

Permalink
Fix selectors in UI test to match renaming of Metric widget (#14932)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kate Butler authored Oct 1, 2019
1 parent 42a62a2 commit ca74816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/CoreHome/tests/UI/SingleMetricView_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ describe('SingleMetricView', function () {
await (await page.jQuery('.widgetpreview-categorylist>li:contains(Goals)')).hover(); // have to mouse move twice... otherwise Live! will just be highlighted
await (await page.jQuery('.widgetpreview-categorylist > li:contains(KPI Metric)')).hover();

await (await page.jQuery('.widgetpreview-widgetlist li:contains(Metric)')).hover();
await (await page.jQuery('.widgetpreview-widgetlist li:contains(Metric)')).click();
await (await page.jQuery('.widgetpreview-widgetlist li:contains(KPI Metric)')).hover();
await (await page.jQuery('.widgetpreview-widgetlist li:contains(KPI Metric)')).click();

var elem = await page.waitForSelector('#widgetCoreVisualizationssingleMetricViewcolumn');
await page.waitForNetworkIdle();
Expand Down

0 comments on commit ca74816

Please sign in to comment.