@duckduckgo/autoconsent 17.1.0 → 17.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +155 -0
- package/ci/asana-create-release-task.js +12 -4
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.standalone.js +1 -1
- package/package.json +1 -1
- package/rules/autoconsent/2gis.json +10 -0
- package/rules/autoconsent/albelli-photobox.json +34 -0
- package/rules/autoconsent/aliasdmc.json +46 -0
- package/rules/autoconsent/astro-cookie-notice-fzbxxtek.json +25 -0
- package/rules/autoconsent/autokostencheck.de.json +50 -0
- package/rules/autoconsent/autoscout24.json +40 -0
- package/rules/autoconsent/avacy.json +21 -1
- package/rules/autoconsent/avg-cookiebanner.json +81 -0
- package/rules/autoconsent/axeptio-tcf.json +35 -0
- package/rules/autoconsent/bahn-de.json +1 -1
- package/rules/autoconsent/bayern-stmas.json +49 -0
- package/rules/autoconsent/bigcommerce-consent-manager.json +3 -2
- package/rules/autoconsent/bmedonline-es.json +16 -0
- package/rules/autoconsent/bo3.gg.json +43 -0
- package/rules/autoconsent/c15t.json +72 -0
- package/rules/autoconsent/codalt-cookie-consent.json +8 -0
- package/rules/autoconsent/complianz-notice.json +2 -2
- package/rules/autoconsent/comundus-cookie-banner.json +43 -0
- package/rules/autoconsent/cookie-bar-eu.json +21 -0
- package/rules/autoconsent/cookie-consent-root.json +55 -0
- package/rules/autoconsent/cookie-info-banner.json +33 -0
- package/rules/autoconsent/cookiecode.json +13 -0
- package/rules/autoconsent/cwarn.json +9 -0
- package/rules/autoconsent/diffuse-cookie-notice.json +21 -0
- package/rules/autoconsent/dijklander.json +18 -0
- package/rules/autoconsent/doc-du-juriste.json +44 -0
- package/rules/autoconsent/doktorabc.json +44 -0
- package/rules/autoconsent/dola.json +35 -0
- package/rules/autoconsent/dolphinfitness.json +17 -0
- package/rules/autoconsent/eagerly-tools-cookie.json +53 -0
- package/rules/autoconsent/easy-cookie-info.json +9 -0
- package/rules/autoconsent/econda-pp2.json +33 -0
- package/rules/autoconsent/ekd-de.json +32 -0
- package/rules/autoconsent/enzuzo.json +48 -0
- package/rules/autoconsent/eplaque.json +12 -0
- package/rules/autoconsent/etracker.json +35 -0
- package/rules/autoconsent/fabrique-cookie-message.json +29 -0
- package/rules/autoconsent/florisvanbommel.json +32 -0
- package/rules/autoconsent/foto-erhardt.json +35 -0
- package/rules/autoconsent/futoncompany.json +18 -0
- package/rules/autoconsent/ggzstandaarden.nl.json +13 -0
- package/rules/autoconsent/gleeden.json +14 -0
- package/rules/autoconsent/grrr-cookie-consent.json +24 -0
- package/rules/autoconsent/gsmpunt.json +43 -0
- package/rules/autoconsent/hallmark.json +16 -0
- package/rules/autoconsent/heerlijkehuisjes.json +18 -0
- package/rules/autoconsent/holidu.json +9 -0
- package/rules/autoconsent/in2cookiemodal.json +65 -0
- package/rules/autoconsent/islington-council.json +16 -0
- package/rules/autoconsent/jurahilfe-de.json +23 -0
- package/rules/autoconsent/justwatch-com.json +3 -2
- package/rules/autoconsent/klimatabelle.com.json +13 -0
- package/rules/autoconsent/kuendigung.org.json +14 -0
- package/rules/autoconsent/kunstmaan-cookie-bar.json +50 -0
- package/rules/autoconsent/laravel-cc-banner.json +35 -0
- package/rules/autoconsent/laravel-eu-cookie-consent.json +47 -0
- package/rules/autoconsent/lastdodo.json +21 -0
- package/rules/autoconsent/le-livre-fr.json +14 -0
- package/rules/autoconsent/leetchi.json +16 -0
- package/rules/autoconsent/lezenvoordelijst.nl.json +38 -0
- package/rules/autoconsent/localbiz-cookie-notice.json +9 -0
- package/rules/autoconsent/maree-info.json +39 -0
- package/rules/autoconsent/mediawiki-cookieconsent.json +24 -0
- package/rules/autoconsent/meduza.json +38 -0
- package/rules/autoconsent/moebel-de-group.json +20 -0
- package/rules/autoconsent/moneybird.json +61 -0
- package/rules/autoconsent/mrchadd.json +45 -0
- package/rules/autoconsent/ncsoft-cookie-toast.json +30 -0
- package/rules/autoconsent/newyorker-de.json +35 -0
- package/rules/autoconsent/nocturnhq.json +35 -0
- package/rules/autoconsent/noord-holland.nl.json +24 -0
- package/rules/autoconsent/npo-ccm.json +35 -8
- package/rules/autoconsent/nuxt-cookie-manager.json +22 -0
- package/rules/autoconsent/om.json +3 -3
- package/rules/autoconsent/omroepflevoland.json +60 -0
- package/rules/autoconsent/orejime.json +66 -0
- package/rules/autoconsent/pandectes.json +1 -2
- package/rules/autoconsent/pcloud.json +18 -0
- package/rules/autoconsent/pcspecialist.json +13 -0
- package/rules/autoconsent/plex.tv.json +37 -5
- package/rules/autoconsent/plumrocket-cookie-consent.json +22 -0
- package/rules/autoconsent/professoren-tum-de.json +13 -0
- package/rules/autoconsent/properstar.json +56 -0
- package/rules/autoconsent/r42-st-popup.json +37 -0
- package/rules/autoconsent/react-cookie-consent.json +34 -0
- package/rules/autoconsent/restaurants-nl.json +13 -0
- package/rules/autoconsent/reuma-nl.json +50 -0
- package/rules/autoconsent/reviq.json +47 -0
- package/rules/autoconsent/rittal.json +33 -0
- package/rules/autoconsent/rwth-moodle.json +33 -0
- package/rules/autoconsent/sachsen-cookiebar.json +31 -0
- package/rules/autoconsent/sandstudio-cookie-tip.json +30 -0
- package/rules/autoconsent/schuurman-schoenen.json +40 -0
- package/rules/autoconsent/scotland-police-uk.json +13 -0
- package/rules/autoconsent/sg-cookies.json +80 -0
- package/rules/autoconsent/shimano-bike.json +29 -0
- package/rules/autoconsent/shoezone.json +35 -0
- package/rules/autoconsent/shopify-dux.json +32 -0
- package/rules/autoconsent/showroomprive.json +12 -0
- package/rules/autoconsent/sitepark-sitekit.json +27 -0
- package/rules/autoconsent/studioibizz-cookieconsent.json +20 -0
- package/rules/autoconsent/stuvia.json +14 -0
- package/rules/autoconsent/swis-avg.json +24 -0
- package/rules/autoconsent/termsfeed.json +4 -4
- package/rules/autoconsent/termsfeed3.json +2 -2
- package/rules/autoconsent/tplink.json +50 -10
- package/rules/autoconsent/tradecalculator.json +49 -0
- package/rules/autoconsent/travix.json +37 -0
- package/rules/autoconsent/tu-darmstadt.json +63 -0
- package/rules/autoconsent/tutosurexcel.json +45 -0
- package/rules/autoconsent/ub-hu-berlin.json +34 -0
- package/rules/autoconsent/unicity.json +22 -0
- package/rules/autoconsent/unitedconsumers.json +23 -0
- package/rules/autoconsent/vantilburgonline.json +17 -0
- package/rules/autoconsent/vendic-cookiebar.json +32 -0
- package/rules/autoconsent/vgn-de.json +53 -0
- package/rules/autoconsent/vogue-nl.json +42 -0
- package/rules/autoconsent/vszutphen.json +13 -0
- package/rules/autoconsent/vue-cookie-law.json +42 -0
- package/rules/autoconsent/wbd-legal-terms.json +5 -1
- package/rules/autoconsent/websale.json +20 -0
- package/rules/autoconsent/westminster.ac.uk.json +46 -0
- package/rules/autoconsent/wpconsent.json +2 -2
- package/rules/autoconsent/yourspares.json +39 -0
- package/rules/autoconsent/zoomalia.json +13 -0
- package/rules/autoconsent/zorgenzekerheid.nl.json +13 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/2gis.spec.ts +3 -0
- package/tests/albelli-photobox.spec.ts +8 -0
- package/tests/aliasdmc.spec.ts +10 -0
- package/tests/astro-cookie-notice-fzbxxtek.spec.ts +9 -0
- package/tests/autokostencheck.de.spec.ts +7 -0
- package/tests/autoscout24.spec.ts +14 -0
- package/tests/avacy.spec.ts +6 -0
- package/tests/avg-cookiebanner.spec.ts +17 -0
- package/tests/axeptio-tcf.spec.ts +6 -0
- package/tests/bahn-de.spec.ts +1 -1
- package/tests/bayern-stmas.spec.ts +7 -0
- package/tests/bigcommerce-consent-manager.spec.ts +1 -0
- package/tests/bmedonline-es.spec.ts +3 -0
- package/tests/bo3.gg.spec.ts +3 -0
- package/tests/c15t.spec.ts +18 -0
- package/tests/codalt-cookie-consent.spec.ts +6 -0
- package/tests/complianz-notice.spec.ts +2 -0
- package/tests/comundus-cookie-banner.spec.ts +9 -0
- package/tests/cookie-bar-eu.spec.ts +8 -0
- package/tests/cookie-consent-root.spec.ts +3 -0
- package/tests/cookie-info-banner.spec.ts +8 -0
- package/tests/cookiecode.spec.ts +3 -0
- package/tests/cwarn.spec.ts +5 -0
- package/tests/diffuse-cookie-notice.spec.ts +8 -0
- package/tests/dijklander.spec.ts +3 -0
- package/tests/doc-du-juriste.spec.ts +3 -0
- package/tests/doktorabc.spec.ts +3 -0
- package/tests/dola.spec.ts +5 -0
- package/tests/dolphinfitness.spec.ts +3 -0
- package/tests/eagerly-tools-cookie.spec.ts +8 -0
- package/tests/easy-cookie-info.spec.ts +9 -0
- package/tests/econda-pp2.spec.ts +3 -0
- package/tests/ekd-de.spec.ts +5 -0
- package/tests/enzuzo.spec.ts +8 -0
- package/tests/eplaque.spec.ts +3 -0
- package/tests/etracker.spec.ts +8 -0
- package/tests/fabrique-cookie-message.spec.ts +3 -0
- package/tests/florisvanbommel.spec.ts +8 -0
- package/tests/foto-erhardt.spec.ts +3 -0
- package/tests/futoncompany.spec.ts +3 -0
- package/tests/ggzstandaarden.nl.spec.ts +3 -0
- package/tests/gleeden.spec.ts +3 -0
- package/tests/grrr-cookie-consent.spec.ts +3 -0
- package/tests/gsmpunt.spec.ts +3 -0
- package/tests/hallmark.spec.ts +3 -0
- package/tests/heerlijkehuisjes.spec.ts +3 -0
- package/tests/holidu.spec.ts +11 -0
- package/tests/in2cookiemodal.spec.ts +13 -0
- package/tests/islington-council.spec.ts +8 -0
- package/tests/jurahilfe-de.spec.ts +3 -0
- package/tests/klimatabelle.com.spec.ts +3 -0
- package/tests/kuendigung.org.spec.ts +3 -0
- package/tests/kunstmaan-cookie-bar.spec.ts +8 -0
- package/tests/laravel-cc-banner.spec.ts +3 -0
- package/tests/laravel-eu-cookie-consent.spec.ts +14 -0
- package/tests/lastdodo.spec.ts +9 -0
- package/tests/le-livre-fr.spec.ts +3 -0
- package/tests/leetchi.spec.ts +3 -0
- package/tests/lezenvoordelijst.nl.spec.ts +3 -0
- package/tests/localbiz-cookie-notice.spec.ts +7 -0
- package/tests/maree-info.spec.ts +3 -0
- package/tests/mediawiki-cookieconsent.spec.ts +15 -0
- package/tests/meduza.spec.ts +3 -0
- package/tests/moebel-de-group.spec.ts +9 -0
- package/tests/moneybird.spec.ts +8 -0
- package/tests/mrchadd.spec.ts +3 -0
- package/tests/ncsoft-cookie-toast.spec.ts +6 -0
- package/tests/newyorker-de.spec.ts +3 -0
- package/tests/nocturnhq.spec.ts +3 -0
- package/tests/noord-holland.nl.spec.ts +5 -0
- package/tests/npo-ccm.spec.ts +3 -0
- package/tests/nuxt-cookie-manager.spec.ts +11 -0
- package/tests/om.spec.ts +3 -1
- package/tests/omroepflevoland.spec.ts +9 -0
- package/tests/orejime.spec.ts +20 -0
- package/tests/pandectes.spec.ts +6 -0
- package/tests/pcloud.spec.ts +5 -0
- package/tests/pcspecialist.spec.ts +12 -0
- package/tests/plex.tv.spec.ts +12 -3
- package/tests/plumrocket-cookie-consent.spec.ts +3 -0
- package/tests/professoren-tum-de.spec.ts +3 -0
- package/tests/properstar.spec.ts +9 -0
- package/tests/r42-st-popup.spec.ts +7 -0
- package/tests/react-cookie-consent.spec.ts +3 -0
- package/tests/restaurants-nl.spec.ts +3 -0
- package/tests/reuma-nl.spec.ts +6 -0
- package/tests/reviq.spec.ts +5 -0
- package/tests/rittal.spec.ts +6 -0
- package/tests/rwth-moodle.spec.ts +3 -0
- package/tests/sachsen-cookiebar.spec.ts +7 -0
- package/tests/sandstudio-cookie-tip.spec.ts +8 -0
- package/tests/schuurman-schoenen.spec.ts +7 -0
- package/tests/scotland-police-uk.spec.ts +6 -0
- package/tests/sg-cookies.spec.ts +28 -0
- package/tests/shimano-bike.spec.ts +6 -0
- package/tests/shoezone.spec.ts +3 -0
- package/tests/shopify-dux.spec.ts +15 -0
- package/tests/showroomprive.spec.ts +14 -0
- package/tests/sitepark-sitekit.spec.ts +9 -0
- package/tests/studioibizz-cookieconsent.spec.ts +7 -0
- package/tests/stuvia.spec.ts +5 -0
- package/tests/swis-avg.spec.ts +7 -0
- package/tests/termsfeed.spec.ts +3 -0
- package/tests/termsfeed3.spec.ts +7 -1
- package/tests/tplink.spec.ts +1 -1
- package/tests/tradecalculator.spec.ts +3 -0
- package/tests/travix.spec.ts +9 -0
- package/tests/tu-darmstadt.spec.ts +8 -0
- package/tests/tutosurexcel.spec.ts +3 -0
- package/tests/ub-hu-berlin.spec.ts +3 -0
- package/tests/unicity.spec.ts +9 -0
- package/tests/unitedconsumers.spec.ts +3 -0
- package/tests/vantilburgonline.spec.ts +3 -0
- package/tests/vendic-cookiebar.spec.ts +8 -0
- package/tests/vgn-de.spec.ts +3 -0
- package/tests/vogue-nl.spec.ts +3 -0
- package/tests/vszutphen.spec.ts +3 -0
- package/tests/vue-cookie-law.spec.ts +9 -0
- package/tests/wbd-legal-terms.spec.ts +1 -0
- package/tests/websale.spec.ts +16 -0
- package/tests/westminster.ac.uk.spec.ts +3 -0
- package/tests/wpconsent.spec.ts +1 -1
- package/tests/yourspares.spec.ts +3 -0
- package/tests/zoomalia.spec.ts +8 -0
- package/tests/zorgenzekerheid.nl.spec.ts +3 -0
- package/rules/generated/auto_CH_chambres-hotes.fr_hay.json +0 -40
- package/rules/generated/auto_CH_euroairport.com_3yl.json +0 -40
- package/rules/generated/auto_CH_moebel24.ch_fck.json +0 -40
- package/rules/generated/auto_DE_moebel.de_yf1.json +0 -40
- package/rules/generated/auto_DE_nanu-nana.de_7my.json +0 -40
- package/rules/generated/auto_FR_carnavalet.paris.fr_s1s.json +0 -40
- package/rules/generated/auto_FR_cre.fr_sd4.json +0 -40
- package/rules/generated/auto_FR_cybevasion.fr_jjp.json +0 -40
- package/rules/generated/auto_FR_ifrap.org_gtx.json +0 -40
- package/rules/generated/auto_FR_naval-group.com_yzx.json +0 -40
- package/rules/generated/auto_FR_petitpalais.paris.fr_9s1.json +0 -40
- package/rules/generated/auto_GB_partscentre.co.uk_s70.json +0 -40
- package/rules/generated/auto_GB_shopify.com_0.json +0 -28
- package/rules/generated/auto_NL_cheaptickets.nl_cwt.json +0 -40
- package/rules/generated/auto_NO_pcsx2.net_grl.json +0 -40
- package/tests/generated/auto_CH_chambres-hotes.fr_hay.spec.ts +0 -6
- package/tests/generated/auto_CH_euroairport.com_3yl.spec.ts +0 -6
- package/tests/generated/auto_CH_moebel24.ch_fck.spec.ts +0 -2
- package/tests/generated/auto_DE_moebel.de_yf1.spec.ts +0 -2
- package/tests/generated/auto_DE_nanu-nana.de_7my.spec.ts +0 -2
- package/tests/generated/auto_FR_carnavalet.paris.fr_s1s.spec.ts +0 -6
- package/tests/generated/auto_FR_cre.fr_sd4.spec.ts +0 -2
- package/tests/generated/auto_FR_cybevasion.fr_jjp.spec.ts +0 -6
- package/tests/generated/auto_FR_ifrap.org_gtx.spec.ts +0 -2
- package/tests/generated/auto_FR_naval-group.com_yzx.spec.ts +0 -6
- package/tests/generated/auto_FR_petitpalais.paris.fr_9s1.spec.ts +0 -6
- package/tests/generated/auto_GB_partscentre.co.uk_s70.spec.ts +0 -6
- package/tests/generated/auto_GB_shopify.com_0.spec.ts +0 -2
- package/tests/generated/auto_NL_cheaptickets.nl_cwt.spec.ts +0 -6
- package/tests/generated/auto_NO_pcsx2.net_grl.spec.ts +0 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
const urls = [
|
|
4
|
+
'https://www.omroepflevoland.nl/',
|
|
5
|
+
'https://www.omroepflevoland.nl/sport/529032/almere-city-bekert-een-ronde-verder-na-een-knappe-0-2-zege-op-telstar',
|
|
6
|
+
];
|
|
7
|
+
|
|
8
|
+
generateCMPTests('omroepflevoland', urls, { mobile: true });
|
|
9
|
+
generateCMPTests('omroepflevoland', urls, { mobile: false });
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('orejime', [
|
|
4
|
+
// 'https://www.bienvenue-a-la-ferme.com/', // the site initialises Orejime only on some page loads
|
|
5
|
+
'https://www.debatpublic.fr/',
|
|
6
|
+
'https://www.museedesconfluences.fr/',
|
|
7
|
+
'https://www.gironde.fr/',
|
|
8
|
+
'https://metropole.rennes.fr/',
|
|
9
|
+
'https://www.ecologie.gouv.fr/',
|
|
10
|
+
'https://www.mer.gouv.fr/',
|
|
11
|
+
'https://www.octo.com/',
|
|
12
|
+
'https://www.afdas.com/',
|
|
13
|
+
'https://www.ifrap.org/',
|
|
14
|
+
'https://www.cre.fr/',
|
|
15
|
+
'https://www.euroairport.com/',
|
|
16
|
+
'https://www.leforem.be/',
|
|
17
|
+
]);
|
|
18
|
+
|
|
19
|
+
// page reloads after the choice is saved, so the self-test cannot run
|
|
20
|
+
generateCMPTests('orejime', ['https://www.naval-group.com/'], { testSelfTest: false });
|
package/tests/pandectes.spec.ts
CHANGED
|
@@ -4,8 +4,14 @@ generateCMPTests('pandectes', [
|
|
|
4
4
|
'https://hollandscountryclothing.co.uk/',
|
|
5
5
|
'https://cluse.com/',
|
|
6
6
|
'https://swedishstockings.com/', // full-page overlay ("blocking") banner variant
|
|
7
|
+
'https://hollandcooper.com/',
|
|
7
8
|
]);
|
|
8
9
|
|
|
10
|
+
// "reject all" hidden in preferences; the site reloads after saving, so the self-test cannot run
|
|
11
|
+
generateCMPTests('pandectes', ['https://snocks.com/'], {
|
|
12
|
+
testSelfTest: false,
|
|
13
|
+
});
|
|
14
|
+
|
|
9
15
|
// shadow DOM <pandectes-cmp> banner variant
|
|
10
16
|
generateCMPTests(
|
|
11
17
|
'pandectes',
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
// each storefront shows the consent popup only to visitors from its own country (and the UK one also to the US)
|
|
4
|
+
generateCMPTests('pcspecialist', ['https://www.pcspecialist.co.uk/'], {
|
|
5
|
+
testSelfTest: false,
|
|
6
|
+
onlyRegions: ['GB', 'US'],
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
generateCMPTests('pcspecialist', ['https://www.pcspecialist.de/'], {
|
|
10
|
+
testSelfTest: false,
|
|
11
|
+
onlyRegions: ['DE'],
|
|
12
|
+
});
|
package/tests/plex.tv.spec.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests(
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
generateCMPTests(
|
|
4
|
+
'plex.tv',
|
|
5
|
+
[
|
|
6
|
+
'https://watch.plex.tv/',
|
|
7
|
+
'https://support.plex.tv/',
|
|
8
|
+
'https://www.plex.tv/en-gb/plans/',
|
|
9
|
+
'https://www.plex.tv/media-server-downloads/?cat=computer&plat=macos',
|
|
10
|
+
],
|
|
11
|
+
{
|
|
12
|
+
skipRegions: ['US', 'CA', 'AU', 'JP'],
|
|
13
|
+
},
|
|
14
|
+
);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('properstar', [
|
|
4
|
+
'https://www.properstar.de/',
|
|
5
|
+
'https://www.properstar.co.uk/',
|
|
6
|
+
'https://www.properstar.fr/',
|
|
7
|
+
'https://www.properstar.nl/',
|
|
8
|
+
'https://international.immobiliare.it/',
|
|
9
|
+
]);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
// the page reloads after a choice is made, so the self-test cannot run on the original document
|
|
4
|
+
generateCMPTests('rittal', ['https://www.rittal.com/com-en/', 'https://www.rittal.com/uk-en/', 'https://www.rittal.com/fr-fr/'], {
|
|
5
|
+
testSelfTest: false,
|
|
6
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('sg-cookies', [
|
|
4
|
+
// Reject button only in the hidden settings modal
|
|
5
|
+
'https://www.thuisbatterij-actie.nl/',
|
|
6
|
+
'https://www.nationaalbespaarcentrum.nl/',
|
|
7
|
+
'https://www.bestewarmtepomp.nl/',
|
|
8
|
+
'https://www.satt.cz/',
|
|
9
|
+
'https://epassage24.de/',
|
|
10
|
+
'https://www.babetkovo.sk/',
|
|
11
|
+
// Reject button in the bar
|
|
12
|
+
'https://www.geneva-arena.ch/',
|
|
13
|
+
]);
|
|
14
|
+
|
|
15
|
+
// These sites reload the page after opt-out
|
|
16
|
+
generateCMPTests(
|
|
17
|
+
'sg-cookies',
|
|
18
|
+
[
|
|
19
|
+
// Reject button in the bar
|
|
20
|
+
'https://www.buywithconfidence.gov.uk/',
|
|
21
|
+
'https://www.luminsmart.com/',
|
|
22
|
+
// Only a settings modal
|
|
23
|
+
'https://www.zengo.eu/',
|
|
24
|
+
'https://www.tanteanna.de/',
|
|
25
|
+
'https://ceceurope.org/',
|
|
26
|
+
],
|
|
27
|
+
{ testSelfTest: false },
|
|
28
|
+
);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests(
|
|
4
|
+
'shopify-dux',
|
|
5
|
+
[
|
|
6
|
+
'https://shop.app/',
|
|
7
|
+
'https://www.shopify.com/uk',
|
|
8
|
+
'https://apps.shopify.com/',
|
|
9
|
+
'https://shopify.dev/docs',
|
|
10
|
+
'https://themes.shopify.com/',
|
|
11
|
+
],
|
|
12
|
+
{
|
|
13
|
+
skipRegions: ['US'],
|
|
14
|
+
},
|
|
15
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
const urls = [
|
|
4
|
+
'https://www.showroomprive.com/',
|
|
5
|
+
'https://www.showroomprive.es/',
|
|
6
|
+
'https://www.showroomprive.nl/',
|
|
7
|
+
'https://www.saldiprivati.com/',
|
|
8
|
+
];
|
|
9
|
+
|
|
10
|
+
generateCMPTests('showroomprive', urls, {
|
|
11
|
+
// desktop banner reloads the page after a choice, so the self-test never runs
|
|
12
|
+
testSelfTest: false,
|
|
13
|
+
});
|
|
14
|
+
generateCMPTests('showroomprive', urls, { mobile: true });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests(
|
|
4
|
+
'sitepark-sitekit',
|
|
5
|
+
['https://www.wuppertal.de/', 'https://www.fh-dortmund.de/', 'https://www.karriere-im-kreis.de/', 'https://www.delmenhorst.de/'],
|
|
6
|
+
{
|
|
7
|
+
testSelfTest: false,
|
|
8
|
+
},
|
|
9
|
+
);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
// variant with a deny button
|
|
4
|
+
generateCMPTests('studioibizz-cookieconsent', ['https://www.nettorama.nl/', 'https://www.ggzwnb.nl/'], {});
|
|
5
|
+
|
|
6
|
+
// variant with only accept and a link to the preferences page
|
|
7
|
+
generateCMPTests('studioibizz-cookieconsent', ['https://www.bravis.nl/', 'https://www.solidfloor.com/', 'https://www.keukendepot.nl/'], {});
|
package/tests/termsfeed.spec.ts
CHANGED
package/tests/termsfeed3.spec.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests('termsfeed3', [
|
|
3
|
+
generateCMPTests('termsfeed3', [
|
|
4
|
+
'http://www.flugplan-flughafen.de/',
|
|
5
|
+
'http://www.namenfinden.de/',
|
|
6
|
+
'http://www.songtexte.de/',
|
|
7
|
+
// variant with an extra "Accept Only Necessary Cookies" button
|
|
8
|
+
'https://worldtabletennis.com/',
|
|
9
|
+
]);
|
package/tests/tplink.spec.ts
CHANGED
|
@@ -8,6 +8,6 @@ generateCMPTests('tplink', [
|
|
|
8
8
|
]);
|
|
9
9
|
|
|
10
10
|
// opting out reloads the page, which interrupts the self-test
|
|
11
|
-
generateCMPTests('tplink', ['https://www.kasasmart.com/us'], {
|
|
11
|
+
generateCMPTests('tplink', ['https://www.kasasmart.com/us', 'https://community.tp-link.com/'], {
|
|
12
12
|
testSelfTest: false,
|
|
13
13
|
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('unicity', [
|
|
4
|
+
'https://www.heartuk.org.uk/',
|
|
5
|
+
'https://www.adeptdesign.co.uk/',
|
|
6
|
+
'https://www.lichfield-cathedral.org/',
|
|
7
|
+
'https://www.makingspace.co.uk/',
|
|
8
|
+
'https://www.oaa-anaes.ac.uk/',
|
|
9
|
+
]);
|
|
@@ -3,6 +3,7 @@ import generateCMPTests from '../playwright/runner';
|
|
|
3
3
|
generateCMPTests(
|
|
4
4
|
'wbd-legal-terms',
|
|
5
5
|
[
|
|
6
|
+
'https://www.food.com/recipe/best-banana-bread-2886',
|
|
6
7
|
'https://www.foodnetwork.com/how-to/packages/shopping/product-reviews/best-food-processors',
|
|
7
8
|
'https://www.hgtv.com/',
|
|
8
9
|
'https://www.golfdigest.com/',
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests(
|
|
4
|
+
'websale',
|
|
5
|
+
[
|
|
6
|
+
'https://de.personalshop.com/',
|
|
7
|
+
'https://personalshop.ch/',
|
|
8
|
+
'https://kotte-zeller.de/',
|
|
9
|
+
'https://beckmann-kg.de/',
|
|
10
|
+
'https://gartenversandhaus.de/',
|
|
11
|
+
'https://goldhahn.de/',
|
|
12
|
+
'https://leaf-schmuck.de/',
|
|
13
|
+
'https://krueger-kleidung.de/',
|
|
14
|
+
],
|
|
15
|
+
{ testSelfTest: false },
|
|
16
|
+
);
|
package/tests/wpconsent.spec.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests('WPConsent', ['https://www.allthebestfights.com/', 'https://usatourist.com/'], {
|
|
3
|
+
generateCMPTests('WPConsent', ['https://www.allthebestfights.com/', 'https://usatourist.com/', 'https://ekaaduurzaam.nl/'], {
|
|
4
4
|
testSelfTest: false,
|
|
5
5
|
});
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_CH_chambres-hotes.fr_hay",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://www.chambres-hotes.fr/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?chambres-hotes\\.fr/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div#cookieChoiceInfo > div:nth-child(2)#cookieButtonBar > a:nth-child(2)#cookieChoiceRefuse"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div#cookieChoiceInfo > div:nth-child(2)#cookieButtonBar > a:nth-child(2)#cookieChoiceRefuse"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div#cookieChoiceInfo > div:nth-child(2)#cookieButtonBar > a:nth-child(2)#cookieChoiceRefuse",
|
|
30
|
-
"comment": "REFUSER"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div#cookieChoiceInfo > div:nth-child(2)#cookieButtonBar > a:nth-child(2)#cookieChoiceRefuse",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_CH_euroairport.com_3yl",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://www.euroairport.com/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?euroairport\\.com/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div#orejime > div:nth-child(1):not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > ul:nth-child(2):not([id]) > li:nth-child(2):not([id]) > button:not([id])"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div#orejime > div:nth-child(1):not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > ul:nth-child(2):not([id]) > li:nth-child(2):not([id]) > button:not([id])"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div#orejime > div:nth-child(1):not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > ul:nth-child(2):not([id]) > li:nth-child(2):not([id]) > button:not([id])",
|
|
30
|
-
"comment": "Refuser"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div#orejime > div:nth-child(1):not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > ul:nth-child(2):not([id]) > li:nth-child(2):not([id]) > button:not([id])",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_CH_moebel24.ch_fck",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://www.moebel24.ch/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?moebel24\\.ch/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]",
|
|
30
|
-
"comment": "Ablehnen"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div:not([id]) > dialog:nth-child(2):not([id])[data-testid=\"modal-dialog\"] > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(4):not([id]) > button:nth-child(2):not([id])[data-testid=\"uc-button-decline\"]",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|