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:
authorsgiehl <stefan@matomo.org>2020-04-01 12:07:42 +0300
committersgiehl <stefan@matomo.org>2020-04-01 13:15:52 +0300
commit677fec1f635e697927d389835a3ee53554f84ff9 (patch)
treebc0d60fdac68876c0d2bc715d49b2bb53975bc82 /plugins/Live/tests/UI
parent53cc7a4299535b481d90c45ea5fb7137a6ef9092 (diff)
parent19af9b6c0a63b07020d935ea88710c80823c9d62 (diff)
Merge branch '3.x-dev' into 4.x-dev
Diffstat (limited to 'plugins/Live/tests/UI')
-rw-r--r--plugins/Live/tests/UI/Live_spec.js10
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png4
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png4
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png4
5 files changed, 19 insertions, 6 deletions
diff --git a/plugins/Live/tests/UI/Live_spec.js b/plugins/Live/tests/UI/Live_spec.js
index acbd621f03..9fbe17e9ef 100644
--- a/plugins/Live/tests/UI/Live_spec.js
+++ b/plugins/Live/tests/UI/Live_spec.js
@@ -75,6 +75,16 @@ describe("Live", function () {
expect(await dialog.screenshot()).to.matchImage('visitor_profile');
});
+ it('should load additional visits in visitor log', async function() {
+
+ await page.click('.visitor-profile-more-info a');
+
+ await page.waitForNetworkIdle();
+
+ var dialog = await page.$('.ui-dialog');
+ expect(await dialog.screenshot()).to.matchImage('visitor_profile_more_visits');
+ });
+
it('should hide all action details', async function() {
await page.evaluate(function(){
$('.visitor-profile-toggle-actions').click();
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png
index 14c6866db9..539126cbdc 100644
--- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:cb87e309174e3932f823cf29ef2f17aa7a843d8b1dc1839369da573c800f0226
-size 286483
+oid sha256:df49b91d892c15316435dc414b32a89bc63e7daa35d4cc173dedf547029133e4
+size 294750
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png
index 9916a673f4..9f45d65d49 100644
--- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7469391d27c7b107ba69c5e45ac4544a98839af7088dbb49be0540630408d496
-size 253276
+oid sha256:7c78002e3ff02db7cd9e42b482deaaad48bb4263fadb3ab514a5355622683511
+size 260800
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png
new file mode 100644
index 0000000000..c4d2802ca5
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1409dfc32adddba803069a75341fbefa8954ecf73c06fccf761769fecde2982c
+size 444126
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png
index 02599bb8f0..74c5840384 100644
--- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:69d8ed1bf1f34cd8aa7e06f98d6f8cd4a3a92e27101cb16c7220dfee2b575d75
-size 263202
+oid sha256:cf0fa7c246b8c1255085a39c16514403d410e31887b6424d03f9304949697343
+size 270398