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>2019-05-09 01:26:39 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-05-09 01:26:39 +0300
commit76e60590f486f33a38e7ea08bf941fa57ac904c5 (patch)
tree695bafa55fcd74d79322ed3885e90c4a17ff3e01 /plugins/PrivacyManager
parent461a48e6d7050f73b1c25db98b6f96cff86bd043 (diff)
Switch UI tests from phantomjs to chrome headless (#14421)
* Make sure xss entries is always an array. * Update expected test files and submodule. * Regenerate broken omnifixture dump. * poc conversion to chrome headless for UI tests, single test works locally * Get single test to pass on travis & local w/ headless chrome. * Remove old diff viewer generation, and get output to look the same as before when there is a failure. * Add global timeout & get ViewDataTableTest to pass. * Convert BarGraph_spec.js. * Convert EmptySite_spec. * Update EvolutionGraph spec for chrome headless. * Convert GoalsTable test & find/replace for common changes. * Convert MeasurableManager. * Another find & replace. * Get Menus/OptOutForm to pass w/ chrome headless * Convert PeriodSelector, PieGraph & PivotByDimension UI tests. * undo unrelated debugging change * Convert QuickAccess UI tests * Converts ActionsDataTable UI tests * reset viewport after each testsuite * Converts RowEvolution UI tests * Converts Theme UI tests * Converts SiteSelector UI tests * Converts CustomVariables UI test * Converts DBStats UI test * Ignore empty responses when calling api/controller * Converts Dashboard UI tests * Converts Live UI tests * Converts SimpleUI tests * Converts Installation UI tests * Converts ImageGraph UI tests * Converts Login UI tests * Converts Marketplace UI tests * Converts Insights UI tests * Converts ReportExporting UI tests * Converts UIIntegration tests * Updates ViewDataTable UI tests * Converts CoreUpdater UI tests * Converts UsersManager UI tests * Converts Morpheus UI tests * Converts MultiSites UI tests * Fix testEnvironment.callApi handling of array parameters * Converts Overlay UI tests * Converts PrivacyManager UI tests * Converts ScheduledReports UI tests * Converts SegmentEditor UI tests * compare pixel difference in images * Converts PeriodSelector UI tests * allow a pixel difference * Converts SingleMetricView UI tests * Converts SitesManager UI tests * Converts Transitions UI tests * Converts MeasurableManager UI tests * Move Mouse out of screen after each test suite * Converts PieGraph UI tests * Ensure cursor is not shown in focused input elements * Converts VisitorMap UI tests * Converts CustomLogo UI tests * Converts BarGraph UI tests * Converts EvolutionGraph UI tests * Converts IntranetMeasurable UI tests * Converts TrackingFailures UI tests * Converts CampaignBuilder UI tests * Converts TagManagerTeaser UI tests * fix request url rewrite for changed port * Converts TwoFactorAuth UI tests * do not print full responses in logs, but size instead * improve additional style injection * use submodule branches * fix request interception * update dependencies * [TEMP] disable dangerous link checks * [TEMP] limit tests * Use puppeteer@next and make sure diffs get uploaded properly. * Use correct fs function. * Allow timeout to be specified on command line for UI tests and debug console logs. * timeout option tweak * Setup diff dir once before running tests not before each suite. * fix last commit * Update screenshots and fix some specs. * Convert some tests that were not converted during merge. * updating screenshots * Updating screenshots and fixing some tests. * more test fixes * couple more test fixes * More test fixes and plugin updates. * wait for jquery * Fix some screenshots and tests. * more test fixes * debug travis test failure * remove .only * more test fixes and updated expected files * another test fixing iteration * typo * another quick test change * more tests updates * Test fixes and & more debugging. * more debugging and test fixes * more fixes and debugging. * remove .only * Another round of fixed tests. * more debugging & fixes * more test changes * more debugging and fixes * Fixing more tests + some bug fixes. * Couple more fixes. * Couple more fixes. * Fixing tracking failures test * more fixes * Last couple fixes hopefully. * couple more test fixes * more fixes, bug fix in usersmanager, some test updates * Some more test fixes/changes. * more and more fixes * hoping for a green build * Do not compare against existing files in dashboard_spec. * more fixes, re-enabling travis * really re-enable travis * Install puppeteer on travis-ci. * more fixes * try to fix random failues * remove return * Convert some login tests I forgot and update UsersManager expected file * Fix test for primary key update * Update AddPrimaryKey.php * More test fixes + implement synchronous comparison threshold (so no resemblejs) * More wait fixes + reset token detection fix. * couple more fixes * Fix login/overlay screenshot issue & magick command running issue. * identify is the executable on travis (hopefully) + fix some random failures * Another run. * Last fix. * two more tweaks * typo
Diffstat (limited to 'plugins/PrivacyManager')
-rw-r--r--plugins/PrivacyManager/tests/System/expected/test_allSites_noActions__Live.getLastVisitsDetails_year.xml2
-rw-r--r--plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js354
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_cancelled.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmation_message.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_confirmed.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizeip_and_visit_column_prefilled.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_confirmed.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_anonymizelogdata_one_site_and_custom_date_prefilled.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview_no_retention.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_cancelled_verified_no_data_deleted.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_confirmed.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_delete_visit_unconfirmed.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_enrich_segment_by_ip.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_no_visits_found.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_uncheck_one_visit.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_found.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png4
-rw-r--r--plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_users_opt_out_default.png4
25 files changed, 232 insertions, 216 deletions
diff --git a/plugins/PrivacyManager/tests/System/expected/test_allSites_noActions__Live.getLastVisitsDetails_year.xml b/plugins/PrivacyManager/tests/System/expected/test_allSites_noActions__Live.getLastVisitsDetails_year.xml
index b90f0b2a1d..b594a7a070 100644
--- a/plugins/PrivacyManager/tests/System/expected/test_allSites_noActions__Live.getLastVisitsDetails_year.xml
+++ b/plugins/PrivacyManager/tests/System/expected/test_allSites_noActions__Live.getLastVisitsDetails_year.xml
@@ -13380,7 +13380,7 @@
<idVisit>73</idVisit>
<visitIp>156.5.3.203</visitIp>
- <fingerprint>6fd3fd0dd66dc7b3</fingerprint>
+ <fingerprint>6fd3fd0dd66dc7b3</fingerprint>
<actionDetails>
</actionDetails>
<goalConversions>0</goalConversions>
diff --git a/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js b/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js
index b640f44880..746006d906 100644
--- a/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js
+++ b/plugins/PrivacyManager/tests/UI/PrivacyManager_spec.js
@@ -20,262 +20,278 @@ describe("PrivacyManager", function () {
testEnvironment.save();
});
- function setAnonymizeStartEndDate(page)
+ async function setAnonymizeStartEndDate()
{
// make sure tests do not fail every day
- page.evaluate(function () {
+ await page.waitFor('input.anonymizeStartDate');
+ await page.evaluate(function () {
$('input.anonymizeStartDate').val('2018-03-02').change();
$('input.anonymizeEndDate').val('2018-03-02').change();
- }, 50);
+ });
}
- function loadActionPage(page, action)
+ async function loadActionPage(action)
{
- page.load(urlBase + action);
+ await page.goto(urlBase + action);
+ await page.waitForNetworkIdle();
if (action === 'privacySettings') {
- setAnonymizeStartEndDate(page);
+ await setAnonymizeStartEndDate();
}
}
- function selectModalButton(page, button)
+ async function selectModalButton(button)
{
- page.click('.modal.open .modal-footer a:contains('+button+')');
+ var elem = await page.jQuery('.modal.open .modal-footer a:contains('+button+')');
+ await elem.click();
+ await page.waitFor(500);
+ await page.waitForNetworkIdle();
}
- function findDataSubjects(page)
+ async function findDataSubjects()
{
- page.click('.findDataSubjects .btn');
+ await page.click('.findDataSubjects .btn');
+ await page.waitForNetworkIdle();
+ await page.waitFor(250);
}
- function anonymizePastData(page)
+ async function anonymizePastData()
{
- page.click('.anonymizePastData .btn');
+ await page.click('.anonymizePastData .btn');
+ await page.waitFor(1000); // wait for animation
}
- function deleteDataSubjects(page)
+ async function deleteDataSubjects()
{
- page.click('.deleteDataSubjects input');
+ await page.click('.deleteDataSubjects input');
+ await page.waitFor(500); // wait for animation
}
- function enterSegmentMatchValue(page, value) {
- page.execCallback(function () {
- page.webpage.evaluate(function (theVal) {
- $('.metricValueBlock input').each(function (index) {
- $(this).val(theVal).change();
- });
- }, value);
- });
+ async function enterSegmentMatchValue(value) {
+ await page.evaluate(theVal => {
+ $('.metricValueBlock input').each(function (index) {
+ $(this).val(theVal).change();
+ });
+ }, value);
}
- function selectVisitColumn(page, title)
+ async function selectVisitColumn(title)
{
- page.evaluate(function () {
+ await page.evaluate(function () {
$('.selectedVisitColumns:last input.select-dropdown').click();
});
- page.click('.selectedVisitColumns:last .dropdown-content li:contains(' + title + ')');
+ var selector = '.selectedVisitColumns:last .dropdown-content li:contains(' + title + ')';
+ await page.waitForFunction('$("'+selector+'").length > 0');
+ var elem = await page.jQuery(selector);
+ await elem.click();
+ await page.waitFor(100);
}
- function selectActionColumn(page, title)
+ async function selectActionColumn(title)
{
- page.evaluate(function () {
+ await 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);
- });
+ await page.evaluate(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);
+ async function capturePage(screenshotName) {
+ await page.waitForNetworkIdle();
+ expect(await page.screenshotSelector('.pageWrap,#notificationContainer,.modal.open')).to.matchImage(screenshotName);
}
- function captureAnonymizeLogData(screenshotName, test, done) {
- expect.screenshot(screenshotName).to.be.captureSelector('.logDataAnonymizer,#notificationContainer,.modal.open,.logDataAnonymizer table', test, done);
+ async function captureAnonymizeLogData(screenshotName) {
+ await page.waitForNetworkIdle();
+ expect(await page.screenshotSelector('.logDataAnonymizer,#notificationContainer,.modal.open,.logDataAnonymizer table')).to.matchImage(screenshotName);
}
- function captureModal(screenshotName, test, done) {
- expect.screenshot(screenshotName).to.be.captureSelector('.modal.open', test, done);
+ async function captureModal(screenshotName) {
+ await page.waitForNetworkIdle();
+ const modal = await page.$('.modal.open');
+ expect(await modal.screenshot()).to.matchImage(screenshotName);
}
- it('should load privacy opt out page', function (done) {
- capturePage('users_opt_out_default', function (page) {
- loadActionPage(page, 'usersOptOut');
- }, done);
+ it('should load privacy opt out page', async function() {
+ await loadActionPage('usersOptOut');
+ await capturePage('users_opt_out_default');
});
- it('should load privacy asking for consent page', function (done) {
- capturePage('consent_default', function (page) {
- loadActionPage(page, 'consent');
- }, done);
+ it('should load privacy asking for consent page', async function() {
+ await loadActionPage('consent');
+ await capturePage('consent_default');
});
- it('should load GDPR overview page', function (done) {
- capturePage('gdpr_overview', function (page) {
- testEnvironment.overrideConfig('Deletelogs', 'delete_logs_enable', '1');
- testEnvironment.overrideConfig('Deletelogs', 'delete_logs_older_than', '95');
- testEnvironment.overrideConfig('Deletereports', 'delete_reports_enable', '1');
- testEnvironment.overrideConfig('Deletereports', 'delete_reports_older_than', '131');
- testEnvironment.save();
- loadActionPage(page, 'gdprOverview');
- }, done);
+ it('should load GDPR overview page', async function() {
+ testEnvironment.overrideConfig('Deletelogs', 'delete_logs_enable', '1');
+ testEnvironment.overrideConfig('Deletelogs', 'delete_logs_older_than', '95');
+ testEnvironment.overrideConfig('Deletereports', 'delete_reports_enable', '1');
+ testEnvironment.overrideConfig('Deletereports', 'delete_reports_older_than', '131');
+ testEnvironment.save();
+ await loadActionPage('gdprOverview');
+
+ await capturePage('gdpr_overview');
});
- it('should load GDPR overview page', function (done) {
- capturePage('gdpr_overview_no_retention', function (page) {
- testEnvironment.overrideConfig('Deletelogs', 'delete_logs_enable', '0');
- testEnvironment.overrideConfig('Deletereports', 'delete_reports_enable', '0');
- testEnvironment.save();
- loadActionPage(page, 'gdprOverview');
- }, done);
+ it('should load GDPR overview page', async function() {
+ testEnvironment.overrideConfig('Deletelogs', 'delete_logs_enable', '0');
+ testEnvironment.overrideConfig('Deletereports', 'delete_reports_enable', '0');
+ testEnvironment.save();
+ await loadActionPage('gdprOverview');
+
+ await capturePage('gdpr_overview_no_retention');
});
- it('should load privacy settings page', function (done) {
- capturePage('privacy_settings_default', function (page) {
- loadActionPage(page, 'privacySettings');
- }, done);
+ it('should load privacy settings page', async function() {
+ await loadActionPage('privacySettings');
+ await page.waitForNetworkIdle();
+ await capturePage('privacy_settings_default');
});
- 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 anonymize ip and visit column', async function() {
+ await page.waitForSelector('[name="anonymizeIp"] label');
+ await page.click('[name="anonymizeIp"] label');
+ await selectVisitColumn('config_browser_name');
+ await selectVisitColumn('config_cookie');
+
+ await captureAnonymizeLogData('anonymizelogdata_anonymizeip_and_visit_column_prefilled');
});
- 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 show a confirmation message before executing any anonymization', async function() {
+ await anonymizePastData();
+
+ await captureModal('anonymizelogdata_anonymizeip_and_visit_column_confirmation_message');
});
- 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 cancel anonymization of past data', async function() {
+ await selectModalButton('No');
+
+ await captureAnonymizeLogData('anonymizelogdata_anonymizeip_and_visit_column_cancelled');
});
- 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 be able to confirm anonymization of past data', async function() {
+ await anonymizePastData();
+ await selectModalButton('Yes');
+ await setAnonymizeStartEndDate();
+
+ await captureAnonymizeLogData('anonymizelogdata_anonymizeip_and_visit_column_confirmed');
});
- 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 prefill anonymize location and action column', async function() {
+ await loadActionPage('privacySettings');
+ await page.click('[name="anonymizeLocation"] label');
+ await page.click('[name="anonymizeTheUserId"] label');
+ await page.waitFor(500);
+ await selectActionColumn('time_spent_ref_action');
+ await selectActionColumn('idaction_content_name');
+
+ await captureAnonymizeLogData('anonymizelogdata_anonymizelocation_anduserid_and_action_column_prefilled');
});
- 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 confirm anonymize location and action column', async function() {
+ await anonymizePastData();
+ await selectModalButton('Yes');
+ await page.waitFor(1000);
+ await setAnonymizeStartEndDate();
+
+ await captureAnonymizeLogData('anonymizelogdata_anonymizelocation_anduserid_and_action_column_confirmed');
});
- 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 pre filled', async function() {
+ await page.click('.form-group #anonymizeSite .title');
+ await page.waitFor(1000);
+ await page.click(".form-group #anonymizeSite [title='Site 1']");
+ await page.click('[name="anonymizeIp"] label');
+ await page.evaluate(function () {
+ $('input.anonymizeStartDate').val('2017-01-01').change();
+ $('input.anonymizeEndDate').val('2017-02-14').change();
+ });
+
+ await captureAnonymizeLogData('anonymizelogdata_one_site_and_custom_date_prefilled');
});
- 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 anonymize only one site and different date confirmed', async function() {
+ await anonymizePastData();
+ await selectModalButton('Yes');
+ await page.waitFor(1000);
+ await setAnonymizeStartEndDate();
+
+ await captureAnonymizeLogData('anonymizelogdata_one_site_and_custom_date_confirmed');
});
- it('should load GDPR tools page', function (done) {
- capturePage('gdpr_tools_default', function (page) {
- loadActionPage(page, 'gdprTools');
- }, done);
+ it('should load GDPR tools page', async function() {
+ await loadActionPage('gdprTools');
+
+ await capturePage('gdpr_tools_default');
});
- 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 show no visitor found message', async function() {
+ await enterSegmentMatchValue('userfoobar');
+ await findDataSubjects();
+ await page.waitFor('.manageGdpr tr');
+ await page.mouse.move(-10, -10);
+
+ await capturePage('gdpr_tools_no_visits_found');
});
- it('should find visits', function (done) {
- capturePage('gdpr_tools_visits_found', function (page) {
- enterSegmentMatchValue(page, 'userId203');
+ it('should find visits', async function() {
+ await enterSegmentMatchValue('userId203');
+ await findDataSubjects();
- findDataSubjects(page);
- }, done);
+ await capturePage('gdpr_tools_visits_found');
});
- 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 show visitor profile', async function() {
+ var elem = await page.jQuery('.visitorLogTooltip:first');
+ await elem.click();
+ await page.waitForNetworkIdle();
+
+ expect(await page.screenshotSelector('.ui-dialog')).to.matchImage('gdpr_tools_visits_showprofile');
});
- 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 add IP to segment search with one click', async function() {
+ await page.click('#Piwik_Popover .visitor-profile-close');
+ var elem = await page.jQuery('.visitorIp:first a');
+ await elem.click();
+ await page.waitForNetworkIdle();
+
+ await capturePage('gdpr_tools_enrich_segment_by_ip');
});
- 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 be able to uncheck a visit', async function() {
+ await page.click('.entityTable tbody tr:nth-child(2) .checkInclude label');
+ await page.mouse.move(-10, -10);
+ await capturePage('gdpr_tools_uncheck_one_visit');
});
- it('should ask for confirmation before deleting any visit', function (done) {
- capturePage('gdpr_tools_delete_visit_unconfirmed', function (page) {
- deleteDataSubjects(page);
- }, done);
+ it('should ask for confirmation before deleting any visit', async function() {
+ await deleteDataSubjects();
+ const modal = await page.$('.modal.open');
+ expect(await modal.screenshot()).to.matchImage('gdpr_tools_delete_visit_unconfirmed');
});
- 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 be able to cancel deletion and not delete any data', async function() {
+ await selectModalButton('No');
+ await page.waitFor(500);
+ await capturePage('gdpr_tools_delete_visit_cancelled');
});
- 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 verify really no data deleted', async function() {
+ await loadActionPage('gdprTools');
+ await page.waitFor(1000);
+ await enterSegmentMatchValue('userId203');
+ await findDataSubjects();
+ await page.click('.entityTable tbody tr:nth-child(2) .checkInclude label');
+
+ await capturePage('gdpr_tools_delete_visit_cancelled_verified_no_data_deleted');
});
- 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);
+ it('should be able to confirm deletion and then actually delete data', async function() {
+ await deleteDataSubjects();
+ await selectModalButton('Yes');
+
+ await capturePage('gdpr_tools_delete_visit_confirmed');
});
}); \ No newline at end of file
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
index 756a69c0ea..36db9263ee 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bf7b7a82f63e04461b12617aa2c01ce3764efb93019152985faeccd0dc75207f
-size 223367
+oid sha256:63bc237961a4c1fb7339cf0c86dc9e5dc7e6e5a481cc8d1805abab8bdae0440b
+size 214597
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
index ea43e9fd32..262886a9ac 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a12001c68f67c5e9cac936fe67f8961cfe4155eb2f34cdb60be753764bfe3f42
-size 26047
+oid sha256:124c5faad6ffcd3ab657658896ade8c1e180185397bf5b2beec9f4761971c984
+size 17211
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
index 1cf9b037f9..11e521babe 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:706a5ef57a3318ff231ff5e67f6fc07d812357eb9f191f9f98ba9710bd2d1823
-size 227607
+oid sha256:6aef969fd2110035c420e2344004351f9aa2c213b8124c13cb0b42e801b79a3d
+size 218641
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
index 756a69c0ea..36db9263ee 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:bf7b7a82f63e04461b12617aa2c01ce3764efb93019152985faeccd0dc75207f
-size 223367
+oid sha256:63bc237961a4c1fb7339cf0c86dc9e5dc7e6e5a481cc8d1805abab8bdae0440b
+size 214597
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
index 213a7aca4c..a4fd088eea 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:1e19b1f26e1815b8492f24950461e87af3d50887237ded3cd1b2a2e5ff21812e
-size 239827
+oid sha256:98f72f050c952f36412adbe04060202a6ef913422bd638f339493d522b8e8424
+size 231283
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
index 3bb35b3bb5..b58e52f00c 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ac270809132289d11c27fb0dcec3e9ece495a6edf4990a6b5b74f5e254669928
-size 237383
+oid sha256:1b57e8713c82b7dc17613cb64b3f64daab509b6c4e0f5a046a481decd2585d6a
+size 228004
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
index c6ddeefc6b..b277589bb4 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:ab0041506293059d2e051df56a10ed123406bf9c831463cc0bce7e42dc1e2a3c
-size 247931
+oid sha256:ab8407ac07a251a04b4f08506905ccc79a3c5308f9122b19a642d04b61492e06
+size 240041
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
index 85328edc2a..c818eebd64 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:cfa16b26073990fe2897e5841479fec4f942cc913676b966dcf02ca6673f9175
-size 239349
+oid sha256:f2be7b563c3f3599e291cc766127629706a793d802a40c81d97bda37e991a0ab
+size 231120
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png
index d01664c73b..00b5098626 100644
--- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_consent_default.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:41c904ce9e8fffc2479d006ce04154ecd2882bd5e4b27cda6ee1cddc27fbd8c0
-size 381301
+oid sha256:611d2ccf17125b5a190a88d898d06bdc88e424235b413d09fa69baad1c278e4b
+size 358422
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png
index b99b88fd67..5f15b7bc59 100644
--- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:df42435b46044b0be2d0ad47c7646074c3f2a8a6a5b5fb48c5f80022a82db77b
-size 253634
+oid sha256:de68435eb122fa3a5d50ec1cc052621dbb07d2493e365097fecf9c55271c3379
+size 245260
diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview_no_retention.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview_no_retention.png
index c184aecf71..f2963611a4 100644
--- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview_no_retention.png
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_overview_no_retention.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:42f0b89f7baf1aa7d263d17f59419cbac682e9544bc13bbd8c4af2f7acd95747
-size 251160
+oid sha256:cef377e8b54b963106a3d02aee92f0ab8184ec9488eeb2c17d96a6cb0380e0fc
+size 242085
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
index 38c8d603af..8452d7bedc 100644
--- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_default.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b6b4850a1d27215314316f67435af6fc6fc5e92e1debd15218892e7c6f6c1b8d
-size 62892
+oid sha256:2f6a45ea13a2fae7d73aa7e57710f3238fbac25653f229caad7bc80cc216a8c1
+size 62499
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
index bf07948ecc..a37a5bcf13 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4ea11b2bd1d1b3f1eca0dfd110639ed7a92130ed28d3aa0276a1af140cd25009
-size 583171
+oid sha256:1748c21d56793ac6333a8042629f4016f25f0145e72921bcc59a95a8bb8cde35
+size 580451
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
index eb0a1a7784..17d5d8c200 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f3a9504aa54808809e34fa4b72e475253a97b6e38285c0413f03cc7ad8f30ed9
-size 576791
+oid sha256:f7694a28c3e21b63cfc73d0e8cad4d10be0df0e9ed3ccbc70a2925d98f10760b
+size 574782
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
index ac74dd79cb..23c6dc64c2 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:f9173c687489eb273552068e36260002aa9b864426736493840f313550fd8928
-size 132088
+oid sha256:03c74a23145e78d5234fbe4a309be1ba46d896579b4a1a3a9e08154cc8cbe6aa
+size 129008
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
index 3ffd940c7e..d307935cac 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a73f94c9f69458fbb294ecf4dd79efc106fb0b18811fcca23c42c35793d70169
-size 552099
+oid sha256:10df037298b049fe7aa175340049bd22aededb592127eb339395e4315fbd44b1
+size 9192
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
index 37c5f88d81..cb2dd86abe 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c0d9688cd9cd41655b51f6eba4fd8a1db3d04b1312db6f2f02c96014647fcb54
-size 583527
+oid sha256:fbc2fb38cac9446f44ea9cd885159788e28071b4ac234ef5450f6f8433ed447d
+size 580898
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
index d9e8ab61bb..f7ce8fa272 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7c4033c3edf2eb15c9edb13fcc41e2eb57cf7c5908bdd910c8faf6974a80156d
-size 70587
+oid sha256:6d8c7d371b561f5c35d5403c839ef75f89686492b96e5f9a2522595750fd4361
+size 68306
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
index 30ea3497dc..a37a5bcf13 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:53b8546474391ef2da5552731cad634aba5e6543dd7e73ac6bf10143c3e7caa8
-size 583122
+oid sha256:1748c21d56793ac6333a8042629f4016f25f0145e72921bcc59a95a8bb8cde35
+size 580451
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
index 02c6bf6672..d39ea46c54 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:97ecdf9bdb087863d3bf767d591c2d8f82fade12ca811b84aff6cc2d49d42ee0
-size 578233
+oid sha256:c130d953dc01cf74a64783dca1b6f7c1b5859cf36aceb1394df8d72f6c529725
+size 575163
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
index d8c2d71064..b91410eaca 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:407af20487bbb811d1e895d8bb4ccadf0c8aec1698be3298a7f2a3270dcceb2b
-size 604924
+oid sha256:481716a3e85183d3ae7fa0b79ab52d4e990bcff3a9f3a541e2c5872fdf5139ab
+size 323585
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
index 2b8db1b7a9..95e1077066 100644
--- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png
+++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_privacy_settings_default.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:fff624bbe8f1da33f0c6f4ef95f61632a4160f7846578b7b1c46d9a5471660aa
-size 464677
+oid sha256:c2effb5561c6726fa96df54bc1b64af58811405df9d9af894d9215a5420b0ac8
+size 457049
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
index 3705d0878f..c61eca1e96 100644
--- 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
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6730dd68016159d0e2bed0ac8f74ad8642c9a483acf102ccde478ddf383096ff
-size 170484
+oid sha256:534d656c3d2853441953ea268830c08379d8849a94eed9d43946669ad4c8022a
+size 153783