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:
Diffstat (limited to 'tests/UI')
-rw-r--r--tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png4
-rw-r--r--tests/UI/specs/UIIntegration_spec.js5
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png
index 2c4598656a..523ca82f0f 100644
--- a/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png
+++ b/tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7ffa504c69b63345e39cb7da6fd06d1289d2c152ecee65e27c4f09d098bdd030
-size 4277783
+oid sha256:a52ada389805b8481a1ac02457c458784295c763dcd18f9d1341a496922a1483
+size 4305563
diff --git a/tests/UI/specs/UIIntegration_spec.js b/tests/UI/specs/UIIntegration_spec.js
index 16e6cc0a44..72d7b41a8a 100644
--- a/tests/UI/specs/UIIntegration_spec.js
+++ b/tests/UI/specs/UIIntegration_spec.js
@@ -477,6 +477,11 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
// one page w/ segment
it('should load the visitors > overview page correctly when a segment is specified', async function () {
+ testEnvironment.overrideConfig('General', {
+ enable_segments_cache: 0
+ });
+ testEnvironment.save();
+
await page.goto("?" + urlBase + "#?" + generalParams + "&category=General_Visitors&subcategory=General_Overview&segment=" + segment);
expect(await page.screenshotSelector('.pageWrap,.top_controls')).to.matchImage('visitors_overview_segment');