diff options
author | sgiehl <stefan@piwik.org> | 2016-03-13 13:22:25 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-03-15 01:56:23 +0300 |
commit | 34278b00c7fcb5b1fb19cdca783ce39efb6ac02d (patch) | |
tree | e2923910cf86464976e8375441045c2f2565ed4d /tests | |
parent | 780feedd07d3cbd749108ed1f49fd23542b6cc0f (diff) |
Adds UI test for metric tooltip
Diffstat (limited to 'tests')
-rw-r--r-- | tests/UI/specs/UIIntegration_spec.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js index 9703f28814..fd91c3711d 100644 --- a/tests/UI/specs/UIIntegration_spec.js +++ b/tests/UI/specs/UIIntegration_spec.js @@ -244,6 +244,12 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? }, done); }); + it('should display metric tooltip correctly', function (done) { + expect.screenshot("metric_tooltip").to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { + page.mouseMove('[data-report="Referrers.getReferrerType"] #nb_visits .thDIV', 500); + }, done); + }); + it('should load the referrers > search engines & keywords page correctly', function (done) { expect.screenshot('referrers_search_engines_keywords').to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { page.load("?" + urlBase + "#" + generalParams + "&module=Referrers&action=getSearchEnginesAndKeywords"); @@ -687,4 +693,4 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? page.click('a.actionSegmentVisitorLog:visible'); }, done); }); -});
\ No newline at end of file +}); |