diff options
author | sgiehl <stefan@piwik.org> | 2016-02-28 16:16:04 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-02-28 16:16:04 +0300 |
commit | fb5876ac687787af55509f2278f7a7c5317d7783 (patch) | |
tree | d6fc38aa507130903fd9b3b8839ec7c8f79bedc2 /tests | |
parent | d54141a2c5965848af450e1c1a3f9db0720285fe (diff) |
prevent ui test failure
Diffstat (limited to 'tests')
m--------- | tests/UI/expected-ui-screenshots | 0 | ||||
-rw-r--r-- | tests/UI/specs/Dashboard_spec.js | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/UI/expected-ui-screenshots b/tests/UI/expected-ui-screenshots -Subproject 0dc4b31aeb317cdfc0f61eee1d6b4c56af455ef +Subproject 373aa81bd512b4c1a70489ae526af99946d803d diff --git a/tests/UI/specs/Dashboard_spec.js b/tests/UI/specs/Dashboard_spec.js index edec00978b..f68197db0f 100644 --- a/tests/UI/specs/Dashboard_spec.js +++ b/tests/UI/specs/Dashboard_spec.js @@ -212,6 +212,9 @@ describe("Dashboard", function () { page.click('li[data-action=createDashboard]'); page.sendKeys('#createDashboardName', 'newdash2'); page.click('.ui-dialog[aria-describedby=createDashboardConfirm] button>span:contains(Yes)'); + // toggle map widget to prevent failures + page.mouseMove('#widgetUserCountryMapvisitorMap .widgetTop', 3000); + page.click('#widgetUserCountryMapvisitorMap #minimise'); }, done); }); |