diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2019-08-16 05:47:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-16 05:47:33 +0300 |
commit | 48c9f2c676b4178d8526197af0059bdd7a0f6a72 (patch) | |
tree | 741dc690fc064d82e5b5ac9e9791518e6468b22c /tests/UI | |
parent | 96b2da83ea4aaa490574cc793e59f38c329b2d3e (diff) |
Faster segment archiving (#14761)
* use temporary table when segmenting
* still apply original where
* do not apply where twice
* make sure to sort tables correctly
* performance tweak, no longer a where needed in most queries
* fix notice
* have a better cache per date
* small tweaks
* potentially fix an error where we received too many rows
* do not apply any custom force group by
* better handling of log tables to fix some tests
* enable new feature through config
* remove comment
* fix some system tests
* drop table before starting to archive in case archiving fails
* fix more tests
* trying to fix ui test
* save the config change
* use reader when executing ranking queries
* apply review feedback
* drop table only if it actually exists to prevent problems on a reader
* Update JoinGenerator.php
Diffstat (limited to 'tests/UI')
-rw-r--r-- | tests/UI/expected-screenshots/UIIntegrationTest_admin_diagnostics_configfile.png | 4 | ||||
-rw-r--r-- | tests/UI/specs/UIIntegration_spec.js | 5 |
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'); |