diff options
author | diosmosis <benaka@piwik.pro> | 2015-10-20 02:50:35 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-20 02:50:35 +0300 |
commit | 92768746f11fdb0ae983e0a4dfb53539a468491c (patch) | |
tree | 94d81539a8994894d67a942945c3b6a2b3697f9f /tests | |
parent | ed35d1835cf024366eb1c712cfaacbef88d95fd9 (diff) |
Add UI test for Events index as it appeared to be missing.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/UI/specs/UIIntegration_spec.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js index e9424f25fb..e1dee1f090 100644 --- a/tests/UI/specs/UIIntegration_spec.js +++ b/tests/UI/specs/UIIntegration_spec.js @@ -273,6 +273,13 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik? }, done); }); + // Events pages + it('should load the Events > index page correctly', function (done) { + expect.screenshot('events_overview').to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer,.dataTable', function (page) { + page.load("?" + urlBase + "#" + generalParams + "&module=Events&action=index"); + }, done); + }); + // one page w/ segment it('should load the visitors > overview page correctly when a segment is specified', function (done) { expect.screenshot('visitors_overview_segment').to.be.captureSelector('.pageWrap,.expandDataTableFooterDrawer', function (page) { |