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>2018-03-30 23:56:02 +0300
committerGitHub <noreply@github.com>2018-03-30 23:56:02 +0300
commitda1fec50e51071c775278ac2b9c2eb5db7a20f2f (patch)
tree704e7d0ebe0477fe02c3ac9057e8bb67f27b079b /plugins/Live/tests
parent119e62cd5cc076396dd83736e402d4f470acadd8 (diff)
Moves various UI tests to their plugins (#12649)
* move Overlay UI tests to Overlay plugin * remove UI files that has been moved * move Login UI tests to Login plugin * check for element instead of comparing screenshots * Move Installation UI tests to it's plugin * Move UI tests for Marketplace to Marketplace plugin * Updates Sync Screenshots command to download test files to correct directories * ensure shortcut help is always tested with same useragent * Move VisitorMap UI tests to UserCountryMap plugin * Move Morpheus UI tests to plugin * Move MultiSites UI tests zu plugin * Move ActionsDataTable UI tests to Actions plugin * Renames Test directories to tests * Move UsersManager UI tests to plugin * Move CoreUpdater UI tests to plugin * Move DBStats UI tests to plugin * Move Transitions UI tests to plugin * Move Insights UI tests to plugin * improve UI tests splitting on travis * Moves SegmentEditor UI tests to plugin * Moves SitesManager UI tests to plugin * Moves ImageGraph UI tests to plugin * move live ui test files to git lfs * remove retry * update test file * improve splitting for travis * prevent test from failing randomly
Diffstat (limited to 'plugins/Live/tests')
-rw-r--r--plugins/Live/tests/UI/Live_spec.js2
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_log.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_expand_actions.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_purged.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_tooltip.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png3
-rw-r--r--plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png3
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.pngbin418228 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.pngbin52278 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_purged.pngbin22341 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.pngbin435393 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.pngbin294925 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_tooltip.pngbin11399 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_actions_hidden.pngbin261019 -> 0 bytes
-rw-r--r--plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_visit_details.pngbin271089 -> 0 bytes
17 files changed, 25 insertions, 1 deletions
diff --git a/plugins/Live/tests/UI/Live_spec.js b/plugins/Live/tests/UI/Live_spec.js
index 4b23982b3d..48278897fe 100644
--- a/plugins/Live/tests/UI/Live_spec.js
+++ b/plugins/Live/tests/UI/Live_spec.js
@@ -22,7 +22,7 @@ describe("Live", function () {
it('should show visitor log', function (done) {
expect.screenshot('visitor_log').to.be.captureSelector('.reporting-page', function (page) {
page.load("?module=CoreHome&action=index&idSite=1&period=year&date=2010-01-03#?idSite=1&period=year&date=2010-01-03&category=General_Visitors&subcategory=Live_VisitorLog");
- page.wait(4000);
+ page.wait(4500);
}, done);
});
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log.png
new file mode 100644
index 0000000000..e06a947ad8
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7deb4c75a3aad96ac2ee39bb2d952eb2f98b262dc1a4956045a0326ab369a5b5
+size 418228
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_expand_actions.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_expand_actions.png
new file mode 100644
index 0000000000..64ea2ff07a
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_expand_actions.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b037f3af9bc98346aac92757f5bc77a53dac5775e2ed8e35332247cac8d9d2f2
+size 52278
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_purged.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_purged.png
new file mode 100644
index 0000000000..9d72f7bea7
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_log_purged.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f847a4f5d240e5df9b053c791a6dd7b1b0da0770ebcbddbcec0d59beb34ab1e8
+size 22341
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png
new file mode 100644
index 0000000000..94675e842c
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:85449aeabc94166e94d45c63382c0d24ae066fe54cb9884ab29f8de0c4dbfe14
+size 435393
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
new file mode 100644
index 0000000000..fde76c0089
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bdcb2d78f415c0a62bd8ac6805f10c930eaf76ac00cac4de7643441b419e3764
+size 294925
diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_tooltip.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_tooltip.png
new file mode 100644
index 0000000000..76d57c1187
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_tooltip.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b844e25eea64abd30aff3db3dd560080f744d47853a0ae4360bca661f0893b6
+size 11399
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
new file mode 100644
index 0000000000..fbeb1fb72f
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:284c12edcb06e0a32411d92d7091f5e369b0b0742f5763f603e87cd3c3d99815
+size 261019
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
new file mode 100644
index 0000000000..8975c15ecf
--- /dev/null
+++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5f8f7d7a6300f18d35a3d9ff17a49ea2b58d5ca233d3d360c91e357eba10862d
+size 271089
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
deleted file mode 100644
index 94512ff71b..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log.png
+++ /dev/null
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
deleted file mode 100644
index 4abc286d8a..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_expand_actions.png
+++ /dev/null
Binary files differ
diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_purged.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_purged.png
deleted file mode 100644
index a1bcdc71b0..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_log_purged.png
+++ /dev/null
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
deleted file mode 100644
index 84bdbd9a16..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile.png
+++ /dev/null
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
deleted file mode 100644
index 10f8154b31..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_details.png
+++ /dev/null
Binary files differ
diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_tooltip.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_tooltip.png
deleted file mode 100644
index 3c59df6d85..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_action_tooltip.png
+++ /dev/null
Binary files differ
diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_actions_hidden.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_actions_hidden.png
deleted file mode 100644
index 6a911d6d7c..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_actions_hidden.png
+++ /dev/null
Binary files differ
diff --git a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_visit_details.png b/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_visit_details.png
deleted file mode 100644
index 92ee3ee9a0..0000000000
--- a/plugins/Live/tests/UI/expected-ui-screenshots/Live_visitor_profile_visit_details.png
+++ /dev/null
Binary files differ