Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@piwik.org>2017-12-20 18:43:07 +0300
committerGitHub <noreply@github.com>2017-12-20 18:43:07 +0300
commit786c3dae08e1e131c3dd4cd2c098e661fe3a986b (patch)
tree77f6cbf4d8bf4470d02fd2063bda873347396c41 /plugins/Live/tests
parent16a112e7af104a797f1683f9c3e9badc02b12341 (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.js6
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.pngbin421651 -> 415530 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.pngbin0 -> 52143 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.pngbin441070 -> 436409 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.pngbin301848 -> 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
index 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
Binary files differ
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
new file mode 100644
index 0000000000..da6e5c7bba
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.png
Binary files differ
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
index 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
Binary files differ
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
index 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
Binary files differ