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
path: root/tests/UI
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2022-05-30 16:48:26 +0300
committerGitHub <noreply@github.com>2022-05-30 16:48:26 +0300
commit3fcb8b915aba348e64cb8633222d5b62f4e2c29f (patch)
treeb1a3a12bcbfc0aed82b941367e09993a62304450 /tests/UI
parent59c2e64086d4180a7900bb252faa5f5f3e23568a (diff)
Ensure refresh button is only shown where needed (#19292)
* Ensure refresh button is only shown where needed * fix some deprecated method calls * improve css * updates expected UI files * fix css * updates expected UI files
Diffstat (limited to 'tests/UI')
-rw-r--r--tests/UI/expected-screenshots/Menus_mobile_top.png4
-rw-r--r--tests/UI/specs/UIIntegration_spec.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/UI/expected-screenshots/Menus_mobile_top.png b/tests/UI/expected-screenshots/Menus_mobile_top.png
index 111ce4261f..d805ea9e7b 100644
--- a/tests/UI/expected-screenshots/Menus_mobile_top.png
+++ b/tests/UI/expected-screenshots/Menus_mobile_top.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:9138683e1df1a27477780cd18d6f2cdc4eacb7b36438bea46e47012b8bcda564
-size 176630
+oid sha256:3934ce1630db57efd1094686bf0776b21ebe87789040b58e6fcbbfa363c28734
+size 176190
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js
index 5655a10558..a10881f9f5 100644
--- a/tests/UI/specs/UIIntegration_spec.js
+++ b/tests/UI/specs/UIIntegration_spec.js
@@ -250,7 +250,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
it('should reload the visitors > overview page when clicking on the visitors overview page element again', async function () {
await page.click('#secondNavBar ul li.active li.active a.item');
await page.waitForNetworkIdle();
- await page.waitFor('.piwik-graph');
+ await page.waitForSelector('.piwik-graph');
pageWrap = await page.$('.pageWrap');
expect(await pageWrap.screenshot()).to.matchImage('visitors_overview');