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@matomo.org>2021-09-08 04:18:14 +0300
committerGitHub <noreply@github.com>2021-09-08 04:18:14 +0300
commit748154c5f118f03c7d70a0428f9551b01a09f8f2 (patch)
tree5971d6d692b6a5f05368062490030983d62364f3 /plugins/Dashboard
parent7e82e80d7aa44714a412a0b6fd6cb53164b8ab6d (diff)
Fix failing UI tests (#17970)
Diffstat (limited to 'plugins/Dashboard')
-rw-r--r--plugins/Dashboard/tests/UI/DashboardManager_spec.js4
-rw-r--r--plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_create_new.png4
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Dashboard/tests/UI/DashboardManager_spec.js b/plugins/Dashboard/tests/UI/DashboardManager_spec.js
index 5207523176..d4be12b265 100644
--- a/plugins/Dashboard/tests/UI/DashboardManager_spec.js
+++ b/plugins/Dashboard/tests/UI/DashboardManager_spec.js
@@ -85,6 +85,10 @@ describe("DashboardManager", function () {
}
button = await page.jQuery('.modal.open .modal-footer a:contains(Ok)');
+ // ensure tour widget always shows the same state
+ testEnvironment.completeAllChallenges = 1;
+ testEnvironment.save();
+
await button.click();
await page.mouse.move(-10, -10);
diff --git a/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_create_new.png b/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_create_new.png
index e137896427..bdb6008a6a 100644
--- a/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_create_new.png
+++ b/plugins/Dashboard/tests/UI/expected-screenshots/DashboardManager_create_new.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:2db0147a760b37a63f5cf42a5020c0640d1e0832042a94772478a9cb7278cc90
-size 313984
+oid sha256:a36863b3ef09abd951bdd0c031e7d422cc94bd078e53f5f7e4509cefd95caa87
+size 294039