diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-10-19 20:15:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 20:15:00 +0300 |
commit | 619ee9b48c5f11bbea38a8cf35f4a06b8fba0e11 (patch) | |
tree | f193503258cc0cf7a825ae2786ace92e1022691e /plugins/SitesManager/tests | |
parent | 85618037852baa54631fbc9fbb42170afcde7553 (diff) |
Adds measuarable settings to disable visits log and visitor profile (#16561)
* Adds measuarable settings to disable visits log and visitor profile
* updates expected test files
* Adds some UI tests to check deactivating visitor log / profile works
* code improvements
* more ui tests
* Adds global system settings to disable visits log / profile
* adds UI tests for system setting
* updates expected screenshots
* code improvement
* improve tests
* reset custom logo usage after test
* updates expected screenshots
* use transient cache
Diffstat (limited to 'plugins/SitesManager/tests')
8 files changed, 52 insertions, 14 deletions
diff --git a/plugins/SitesManager/tests/System/expected/test_SitesManager__SitesManager.getSiteSettings.xml b/plugins/SitesManager/tests/System/expected/test_SitesManager__SitesManager.getSiteSettings.xml index 80f68ce41e..407b10b1bf 100644 --- a/plugins/SitesManager/tests/System/expected/test_SitesManager__SitesManager.getSiteSettings.xml +++ b/plugins/SitesManager/tests/System/expected/test_SitesManager__SitesManager.getSiteSettings.xml @@ -219,6 +219,44 @@ https://www.example.org/</placeholder> </settings> </row> <row> + <pluginName>Live</pluginName> + <title>Live</title> + <settings> + <row> + <name>activate_visitor_log</name> + <title>Enable visits log</title> + <value>1</value> + <defaultValue>1</defaultValue> + <type>boolean</type> + <uiControl>checkbox</uiControl> + <uiControlAttributes> + </uiControlAttributes> + <availableValues /> + <description /> + <inlineHelp /> + <templateFile /> + <introduction /> + <condition /> + </row> + <row> + <name>activate_visitor_profile</name> + <title>Enable visitor profile</title> + <value>1</value> + <defaultValue>1</defaultValue> + <type>boolean</type> + <uiControl>checkbox</uiControl> + <uiControlAttributes> + </uiControlAttributes> + <availableValues /> + <description /> + <inlineHelp /> + <templateFile /> + <introduction /> + <condition /> + </row> + </settings> + </row> + <row> <pluginName>ExampleSettingsPlugin</pluginName> <title>ExampleSettingsPlugin</title> <settings> diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_loaded.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_loaded.png index 6d4ba0d044..48a16d2632 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_loaded.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_loaded.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:faad7ccddbf271d2bd235eaff487f9b0cdc26e092dcc0d91c1ef31392e7ace3f -size 177118 +oid sha256:95e04551f119e1e9b8b820c17673d1f406dd0551fd94321230372d8dbefa1b07 +size 177262 diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1.png index 3e676e3d44..1ba96865f1 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:177f4e90b1d78baf6373e8062b4daefba33df9510ef8e57feaef92b81287c39f -size 181538 +oid sha256:d62c70361f44a171784cc6192f24099eca39b29edd6f0f7845d38968eee4e8b6 +size 181767 diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1_again.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1_again.png index 8dfe074481..003dcfbd45 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1_again.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_1_again.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:aaf35ed2b9ae40fc928a3c40745575f0607b4db4153cc35672777e223f29659a -size 181539 +oid sha256:15b42566d36e4085a857ff23362139cf4a37587fa69af52c14e46e39d9a5e611 +size 181762 diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_2.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_2.png index 2b500ea2cf..c01e5b6003 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_2.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_page_2.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d6acb7d862cf1d4ca17101eec65c6ccbd9a6ea9444ddc7b8440336e1a0c2d37d -size 184002 +oid sha256:131138db6f1a134d593409bedf603d869126fd65973987ee1d7c5ea8df272254 +size 184192 diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search.png index 7644ace273..372ea3b96c 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3225bb06a235956222aa0c752b892a5b014547440632a4aa2439a798cec24743 -size 176197 +oid sha256:24fbc319ff68fd83356d9364df18185af5c63a0ad0f0094789410247130cf67f +size 176260 diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_no_result.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_no_result.png index 6c4ed390b1..d60dd751d0 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_no_result.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_no_result.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e89adc9c44fe94357508a3136b6a290a8c7590c838ecf7d6ff311251275b4839 -size 44955 +oid sha256:3fd423f46369202fd777327821e56cca7c3edc4aa2d53be9f4528ca5f96293d5 +size 45021 diff --git a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_page_1.png b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_page_1.png index be7dde71ec..8b9a4e3801 100644 --- a/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_page_1.png +++ b/plugins/SitesManager/tests/UI/expected-screenshots/SitesManager_search_page_1.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1d3901b4c2477df7a077619703f20845000570d496d712a073182f48cbf3e622 -size 180341 +oid sha256:df0ef2e8806715fc4caeda4c81f7b3aa0c733739c67713ae5eb9937e9958c725 +size 180419 |