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:
authorThomas Steur <tsteur@users.noreply.github.com>2018-04-24 04:26:39 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2018-04-24 04:26:39 +0300
commit34c4a857126cd936ff1e9b1a4fb590306be1c879 (patch)
tree65dece270b9cbc891953f6cdc89824d825c1ca54 /plugins/PrivacyManager/tests/UI
parent718eb0e315e4d47c6a72185be6e8d097b1df4765 (diff)
GDPR + Add a couple of new platform features especially around validating settings (#12558)
* add a couple of new platform features especially around validating settings * more validators and other tweaks * few tweaks * allow plugins to add header script in JS tests * some work on gdpr * remove email feature * menu update * add date tooltip * make sure privacy has its own icon * added some text * add opt out info * better titles * add some information about webserver logs * add log import notice * give angular some time to render * show border around iframe * make sure to place a notification in modal dialog if needed * when opening a modal, make sure the top part is visible * disable newsletter sign up by default * command line tool to anonymize and remove previously tracked raw data * implement some basic consent features into piwik.js * minor tweak * schedule entries to anonymize data in past * let users anonymize historical data * better overview * better naming * explain consent tracking * add legitimate interest * new menu structure for privacy * use a proper db table for scheduled anonymizations * add some tracker tests * some tests and fixes * couple of fixes and tests * starting to add some UI tests * more tweaks * add missing file * fix jslint * have the field full width * more tweaks * create directory if needed * various fixes * fix some tests * make sure keys will be always returned in same order * more fixes * fix some tests * apply feedback from review * fix some tests * this might fix mysqli tests * fix some tests * trying to fix mysqli tests * fix system test * fix comment * remove some duplicated code * update method name * trigger event when logs need to be deleted * add possibility to anonymize userId and orderId * trigger event in tracking code page * expire consent in hours * post another event * update wording for privacy GDPR * fix various ui tests * fix some tests * trying to fix ui tests * trigger another test run * fix system test * fix some ui tests * show a table of contents on tracking code page, fix title, add mobile apps and API * fix ui test * 3.5.0-b2 update * Re-generate piwik.js * fix job status and selector style * make sure to include only sites with admin access * some tweaks * fix some ui tests * fix some ui tests * fix test
Diffstat (limited to 'plugins/PrivacyManager/tests/UI')
-rw-r--r--plugins/PrivacyManager/tests/UI/.gitignore2
-rw-r--r--plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js267
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/.gitkeep0
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_cancelled.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmation_message.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmed.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_prefilled.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_confirmed.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_prefilled.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled_verified_no_data_deleted.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_confirmed.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_unconfirmed.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_enrich_segment_by_ip.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_no_visits_found.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_uncheck_one_visit.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_found.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png3
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_users_opt_out_default.png3
25 files changed, 335 insertions, 0 deletions
diff --git a/plugins/PrivacyManager/tests/UI/.gitignore b/plugins/PrivacyManager/tests/UI/.gitignore
new file mode 100644
index 0000000000..f39be478e7
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/.gitignore
@@ -0,0 +1,2 @@
+/processed-ui-screenshots
+/screenshot-diffs \ No newline at end of file
diff --git a/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js b/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js
new file mode 100644
index 0000000000..5fff7be1d2
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js
@@ -0,0 +1,267 @@
+/*!
+ * Piwik - free/libre analytics platform
+ *
+ * Screenshot integration tests.
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ */
+
+describe("PrivacyManager", function () {
+ this.timeout(0);
+
+ this.fixture = "Piwik\\Plugins\\PrivacyManager\\tests\\Fixtures\\MultipleSitesMultipleVisitsFixture";
+
+ var generalParams = 'idSite=1&period=day&date=2017-01-02',
+ urlBase = '?module=PrivacyManager&' + generalParams + '&action=';
+
+ before(function () {
+ testEnvironment.pluginsToLoad = ['PrivacyManager'];
+ testEnvironment.save();
+ });
+
+ function setAnonymizeStartEndDate(page)
+ {
+ // make sure tests do not fail every day
+ page.evaluate(function () {
+ $('input.anonymizeStartDate').val('2018-03-02').change();
+ $('input.anonymizeEndDate').val('2018-03-02').change();
+ });
+ }
+
+ function loadActionPage(page, action)
+ {
+ page.load(urlBase + action);
+
+ if (action === 'privacySettings') {
+ setAnonymizeStartEndDate(page);
+ }
+ }
+
+ function selectModalButton(page, button)
+ {
+ page.click('.modal.open .modal-footer a:contains('+button+')');
+ }
+
+ function findDataSubjects(page)
+ {
+ page.click('.findDataSubjects .btn');
+ }
+
+ function anonymizePastData(page)
+ {
+ page.click('.anonymizePastData .btn');
+ }
+
+ function deleteDataSubjects(page)
+ {
+ page.click('.deleteDataSubjects input');
+ }
+
+ function enterSegmentMatchValue(page, value) {
+ page.execCallback(function () {
+ page.webpage.evaluate(function (theVal) {
+ $('.metricValueBlock input').each(function (index) {
+ $(this).val(theVal).change();
+ });
+ }, value);
+ });
+ }
+
+ function selectVisitColumn(page, title)
+ {
+ page.evaluate(function () {
+ $('.selectedVisitColumns:last input.select-dropdown').click();
+ });
+ page.click('.selectedVisitColumns:last .dropdown-content li:contains(' + title + ')');
+ }
+
+ function selectActionColumn(page, title)
+ {
+ page.evaluate(function () {
+ $('.selectedActionColumns:last input.select-dropdown').click();
+ });
+ page.execCallback(function () {
+ page.webpage.evaluate(function (theTitle) {
+ $('.selectedActionColumns:last .dropdown-content li:contains(' + theTitle + ')').click();
+ }, title);
+ });
+ }
+
+ function capturePage(screenshotName, test, done) {
+ expect.screenshot(screenshotName).to.be.captureSelector('.pageWrap,#notificationContainer,.modal.open', test, done);
+ }
+
+ function captureAnonymizeLogData(screenshotName, test, done) {
+ expect.screenshot(screenshotName).to.be.captureSelector('.logDataAnonymizer,#notificationContainer,.modal.open,.logDataAnonymizer table', test, done);
+ }
+
+ function captureModal(screenshotName, test, done) {
+ expect.screenshot(screenshotName).to.be.captureSelector('.modal.open', test, done);
+ }
+
+ it('should load privacy opt out page', function (done) {
+ capturePage('users_opt_out_default', function (page) {
+ loadActionPage(page, 'usersOptOut');
+ }, done);
+ });
+
+ it('should load privacy asking for consent page', function (done) {
+ capturePage('consent_default', function (page) {
+ loadActionPage(page, 'consent');
+ }, done);
+ });
+
+ it('should load GDPR overview page', function (done) {
+ capturePage('gdpr_overview', function (page) {
+ loadActionPage(page, 'gdprOverview');
+ }, done);
+ });
+
+ it('should load privacy settings page', function (done) {
+ capturePage('privacy_settings_default', function (page) {
+ loadActionPage(page, 'privacySettings');
+ }, done);
+ });
+
+ it('should anonymize ip and visit column', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_anonymizeip_and_visit_column_prefilled', function (page) {
+ page.click('[name=anonymizeIp] label');
+ page.wait(500);
+ selectVisitColumn(page, 'config_browser_name');
+ selectVisitColumn(page, 'config_cookie');
+ }, done);
+ });
+
+ it('should show a confirmation message before executing any anonymization', function (done) {
+ captureModal('anonymizelogdata_anonymizeip_and_visit_column_confirmation_message', function (page) {
+ anonymizePastData(page);
+ }, done);
+ });
+
+ it('should be able to cancel anonymization of past data', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_anonymizeip_and_visit_column_cancelled', function (page) {
+ selectModalButton(page, 'No');
+ }, done);
+ });
+
+ it('should be able to confirm anonymization of past data', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_anonymizeip_and_visit_column_confirmed', function (page) {
+ anonymizePastData(page);
+ selectModalButton(page, 'Yes');
+ setAnonymizeStartEndDate(page);
+ }, done);
+ });
+
+ it('should prefill anonymize location and action column', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled', function (page) {
+ loadActionPage(page, 'privacySettings');
+ page.click('[name=anonymizeLocation] label');
+ page.click('[name=anonymizeTheUserId] label');
+ page.wait(500);
+ selectActionColumn(page, 'time_spent_ref_action');
+ selectActionColumn(page, 'idaction_content_name');
+ }, done);
+ });
+
+ it('should confirm anonymize location and action column', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed', function (page) {
+ anonymizePastData(page);
+ selectModalButton(page, 'Yes');
+ page.wait(1000);
+ setAnonymizeStartEndDate(page);
+ }, done);
+ });
+
+ it('should anonymize only one site and different date pre filled', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_one_site_and_custom_date_prefilled', function (page) {
+ page.click('.form-group #anonymizeSite .title');
+ page.wait(1000);
+ page.click(".form-group #anonymizeSite [title='Site 1']");
+ page.click('[name=anonymizeIp] label');
+ page.evaluate(function () {
+ $('input.anonymizeStartDate').val('2017-01-01').change();
+ $('input.anonymizeEndDate').val('2017-02-14').change();
+ });
+ }, done);
+ });
+
+ it('should anonymize only one site and different date confirmed', function (done) {
+ captureAnonymizeLogData('anonymizelogdata_one_site_and_custom_date_confirmed', function (page) {
+ anonymizePastData(page);
+ selectModalButton(page, 'Yes');
+ page.wait(1000);
+ setAnonymizeStartEndDate(page);
+ }, done);
+ });
+
+ it('should load GDPR tools page', function (done) {
+ capturePage('gdpr_tools_default', function (page) {
+ loadActionPage(page, 'gdprTools');
+ }, done);
+ });
+
+ it('should show no visitor found message', function (done) {
+ capturePage('gdpr_tools_no_visits_found', function (page) {
+ enterSegmentMatchValue(page, 'userfoobar')
+ findDataSubjects(page);
+ }, done);
+ });
+
+ it('should find visits', function (done) {
+ capturePage('gdpr_tools_visits_found', function (page) {
+ enterSegmentMatchValue(page, 'userId203');
+
+ findDataSubjects(page);
+ }, done);
+ });
+
+ it('should be able to show visitor profile', function (done) {
+ capturePage('gdpr_tools_visits_showprofile', function (page) {
+ page.click('.visitorLogTooltip:first');
+ }, done);
+ });
+
+ it('should be able to add IP to segment search with one click', function (done) {
+ capturePage('gdpr_tools_enrich_segment_by_ip', function (page) {
+ page.click('#Piwik_Popover .visitor-profile-close');
+ page.click('.visitorIp:first a');
+ }, done);
+ });
+
+ it('should be able to uncheck a visit', function (done) {
+ capturePage('gdpr_tools_uncheck_one_visit', function (page) {
+ page.click('.entityTable tbody tr:nth-child(2) .checkInclude label');
+ }, done);
+ });
+
+ it('should ask for confirmation before deleting any visit', function (done) {
+ capturePage('gdpr_tools_delete_visit_unconfirmed', function (page) {
+ deleteDataSubjects(page);
+ }, done);
+ });
+
+ it('should be able to cancel deletion and not delete any data', function (done) {
+ capturePage('gdpr_tools_delete_visit_cancelled', function (page) {
+ selectModalButton(page, 'No');
+ }, done);
+ });
+
+ it('should verify really no data deleted', function (done) {
+ capturePage('gdpr_tools_delete_visit_cancelled_verified_no_data_deleted', function (page) {
+ loadActionPage(page, 'gdprTools');
+ page.wait(1000);
+ enterSegmentMatchValue(page, 'userId203');
+ findDataSubjects(page);
+ page.click('.entityTable tbody tr:nth-child(2) .checkInclude label');
+ }, done);
+ });
+
+ it('should be able to confirm deletion and then actually delete data', function (done) {
+ capturePage('gdpr_tools_delete_visit_confirmed', function (page) {
+ deleteDataSubjects(page);
+ selectModalButton(page, 'Yes');
+ }, done);
+ });
+
+}); \ No newline at end of file
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/.gitkeep b/plugins/PrivacyManager/tests/UI/expected-screenshots/.gitkeep
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/.gitkeep
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_cancelled.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_cancelled.png
new file mode 100644
index 0000000000..03c9a124a0
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_cancelled.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b1bffc7041c70d5cbb8b4b9b08d27e3305a537ca6d51cee50d8763e619104f87
+size 165370
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmation_message.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmation_message.png
new file mode 100644
index 0000000000..780c7fcfc8
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmation_message.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6d8275665a858343b61df24c2bc8cce960c8e13577306b0d54a2f3bbb33f8ce5
+size 26048
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmed.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmed.png
new file mode 100644
index 0000000000..e45498f668
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmed.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1794b89a84b6fa4cc6f048bba9e998d3b5c5177da5729e8100b5be9213193659
+size 169653
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_prefilled.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_prefilled.png
new file mode 100644
index 0000000000..03c9a124a0
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_prefilled.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b1bffc7041c70d5cbb8b4b9b08d27e3305a537ca6d51cee50d8763e619104f87
+size 165370
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed.png
new file mode 100644
index 0000000000..647982ef9e
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dc33d89eb2df3acfe959bb9603149ea33e9a568bca5aef6710087396a6f1eec7
+size 182376
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled.png
new file mode 100644
index 0000000000..59fcf6fd96
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ddf5b107d43f551551a335add88571a69797def9379dbcfa7181550ed6278236
+size 179394
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_confirmed.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_confirmed.png
new file mode 100644
index 0000000000..bd13cc6907
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_confirmed.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ed9f5bfe13034620d75c69984dc8c387ddd93da3c4b6ff1d5077615e73874fc9
+size 190662
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_prefilled.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_prefilled.png
new file mode 100644
index 0000000000..964195363f
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_prefilled.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c683e9e35bd0e7167299a1b961f33e824c84ce3c84fcd81fab987bca29751ed
+size 181917
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png
new file mode 100644
index 0000000000..7119b6a3f3
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2276c47d6a150a42ca7a8e1d23ae76ab680fc4664ff3d20c4f10353bb08678c9
+size 383344
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png
new file mode 100644
index 0000000000..372c48bea9
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:509af6185e05450491972a7bcac75ebb33017783a5d7a675023edfdce97ef3f3
+size 211913
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png
new file mode 100644
index 0000000000..0825160413
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9971f0b044e0adfdad4e8c92ca564ca1d0f5a123f633f69c9df055295c674c39
+size 64472
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled.png
new file mode 100644
index 0000000000..f48aca2952
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:30037fab58c267cb6af6d1750a50a657aecb56b00e905a9b748c6a8d6200b8ff
+size 612084
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled_verified_no_data_deleted.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled_verified_no_data_deleted.png
new file mode 100644
index 0000000000..e9cfb05fc3
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled_verified_no_data_deleted.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:96d91026742c074f469f0423ff2418c323c42b9340de21114cc99434adac3c3c
+size 605959
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_confirmed.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_confirmed.png
new file mode 100644
index 0000000000..52e6411358
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_confirmed.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff3fdbf7d61f4adb4585d286a4743158268d4db103842bceff19fa23584b315a
+size 158684
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_unconfirmed.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_unconfirmed.png
new file mode 100644
index 0000000000..1d8d1079cf
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_unconfirmed.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c7ec12162df864457a1358d1818e38fd4436da87f13d866afa699f4fb79a7a39
+size 577134
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_enrich_segment_by_ip.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_enrich_segment_by_ip.png
new file mode 100644
index 0000000000..52f6714dce
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_enrich_segment_by_ip.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6509a1aa2ac4138d4800001e2910beeb684c1ec3471a23df2a2bbdb4c5b0b3f1
+size 612473
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_no_visits_found.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_no_visits_found.png
new file mode 100644
index 0000000000..54cfed602e
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_no_visits_found.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:40433e629fd9dfb215237ad6fad30a6aaed8dd620c7909fa28d066f571579968
+size 71260
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_uncheck_one_visit.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_uncheck_one_visit.png
new file mode 100644
index 0000000000..8d4a95d97d
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_uncheck_one_visit.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:03429a68877937d0349e22d24f5f8c188376a26796e0bce5ddf07a086be1c174
+size 611978
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_found.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_found.png
new file mode 100644
index 0000000000..1944cd2075
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_found.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e85e400116f92d56137d00e3a8c9c401eab774a2bd039cb3374d313c9233d9da
+size 606522
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png
new file mode 100644
index 0000000000..80a94917d1
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:207974272ef88d435823d96facf3d944afb59adb7f8a9d74db4f3559e5fc8ca0
+size 610203
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png
new file mode 100644
index 0000000000..adfddf8808
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9aeac818472faf7ec929f597125b65accc11bc6ec298fd9713d1c89cc44b7c48
+size 359149
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_users_opt_out_default.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_users_opt_out_default.png
new file mode 100644
index 0000000000..6880b30133
--- /dev/null
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_users_opt_out_default.png
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4099fdf7096aafa29e2d62b4274fb3bdb68b02e9ea2dc6c5557248d0fad10fe1
+size 139299