diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-12-20 18:43:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-20 18:43:07 +0300 |
commit | 786c3dae08e1e131c3dd4cd2c098e661fe3a986b (patch) | |
tree | 77f6cbf4d8bf4470d02fd2063bda873347396c41 /plugins/Live/tests | |
parent | 16a112e7af104a797f1683f9c3e9badc02b12341 (diff) |
Hide duplicate actions in visitor log by default (#12160)
* Hide duplicate action in visitor log by default
and extend them on click
* update screenshots
* adds ui test for expanded actions
* use same behaviour for log and profile
* update ui files
* fix js
* update expected screenshot
Diffstat (limited to 'plugins/Live/tests')
-rw-r--r-- | plugins/Live/tests/UI/Live_spec.js | 6 | ||||
-rw-r--r-- | plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.png | bin | 421651 -> 415530 bytes | |||
-rw-r--r-- | plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.png | bin | 0 -> 52143 bytes | |||
-rw-r--r-- | plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.png | bin | 441070 -> 436409 bytes | |||
-rw-r--r-- | plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.png | bin | 301848 -> 296202 bytes |
5 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Live/tests/UI/Live_spec.js b/plugins/Live/tests/UI/Live_spec.js index 334bc80d39..818d3f031f 100644 --- a/plugins/Live/tests/UI/Live_spec.js +++ b/plugins/Live/tests/UI/Live_spec.js @@ -19,6 +19,12 @@ describe("Live", function () { }, done); }); + it('should expand grouped actions', function (done) { + expect.screenshot('visitor_log_expand_actions').to.be.captureSelector('.dataTableVizVisitorLog .card.row:first-child', function (page) { + page.click('.dataTableVizVisitorLog .repeat.icon-refresh'); + }, done); + }); + it('should show visitor profile', function (done) { expect.screenshot('visitor_profile').to.be.captureSelector('.ui-dialog', function (page) { page.evaluate(function(){ diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.png Binary files differindex 2c70f0955a..a204b0c706 100644 --- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.png +++ b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.png diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.png Binary files differnew file mode 100644 index 0000000000..da6e5c7bba --- /dev/null +++ b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.png diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.png Binary files differindex 87b795b8a1..f5514c8306 100644 --- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.png +++ b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.png diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.png Binary files differindex be8b537fdc..46aec06786 100644 --- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.png +++ b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.png |