@duckduckgo/autoconsent 17.3.0 → 17.4.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/dist/addon-firefox/background.bundle.js +26 -7
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/content.bundle.js +22 -1
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/popup.bundle.js +19 -7
  7. package/dist/addon-firefox/rule-index.json +1 -1
  8. package/dist/addon-firefox/rules.json +1 -1
  9. package/dist/addon-mv3/background.bundle.js +26 -7
  10. package/dist/addon-mv3/compact-rules.json +1 -1
  11. package/dist/addon-mv3/content.bundle.js +22 -1
  12. package/dist/addon-mv3/manifest.json +1 -1
  13. package/dist/addon-mv3/popup.bundle.js +19 -7
  14. package/dist/addon-mv3/rule-index.json +1 -1
  15. package/dist/addon-mv3/rules.json +1 -1
  16. package/dist/autoconsent.cjs.js +22 -1
  17. package/dist/autoconsent.esm.js +22 -1
  18. package/dist/autoconsent.playwright.js +22 -1
  19. package/dist/autoconsent.standalone.js +23 -2
  20. package/dist/types/cmps/trustarc-top.d.ts +1 -0
  21. package/dist/types/eval-snippets.d.ts +1 -0
  22. package/lib/cmps/admiral.ts +10 -0
  23. package/lib/cmps/trustarc-top.ts +10 -1
  24. package/lib/eval-snippets.ts +7 -0
  25. package/package.json +1 -1
  26. package/rules/autoconsent/adblockplus.json +94 -0
  27. package/rules/autoconsent/alertamodal-cookies.json +29 -0
  28. package/rules/autoconsent/altamar-cookieconsent.json +45 -0
  29. package/rules/autoconsent/autohero.json +49 -0
  30. package/rules/autoconsent/bing.com-notice-cosmetic.json +28 -0
  31. package/rules/autoconsent/bing.com-notice.json +13 -0
  32. package/rules/autoconsent/bsgdprcookies.json +16 -0
  33. package/rules/autoconsent/casasrurales.json +15 -0
  34. package/rules/autoconsent/ccoo.json +40 -0
  35. package/rules/autoconsent/cdu-edu-au.json +29 -0
  36. package/rules/autoconsent/cnmc-gob-es.json +14 -0
  37. package/rules/autoconsent/comparandonos.json +66 -0
  38. package/rules/autoconsent/consent-backdrop.json +34 -0
  39. package/rules/autoconsent/cookie-accordion-settings.json +56 -0
  40. package/rules/autoconsent/cookies-tip-v1.json +9 -0
  41. package/rules/autoconsent/cookiesplus.json +20 -0
  42. package/rules/autoconsent/crtm.json +36 -0
  43. package/rules/autoconsent/edebe.json +22 -0
  44. package/rules/autoconsent/eduardolosilla.json +12 -0
  45. package/rules/autoconsent/educastur-alojaweb.json +13 -0
  46. package/rules/autoconsent/flatsome-cookies.json +25 -0
  47. package/rules/autoconsent/gameforge.json +42 -0
  48. package/rules/autoconsent/gamefound-com.json +12 -0
  49. package/rules/autoconsent/generalitat-catalunya.json +15 -0
  50. package/rules/autoconsent/ihavecookies.json +5 -1
  51. package/rules/autoconsent/imarina.json +25 -0
  52. package/rules/autoconsent/jobtoday.json +18 -0
  53. package/rules/autoconsent/kaggle.json +21 -0
  54. package/rules/autoconsent/mblock.json +28 -0
  55. package/rules/autoconsent/mirasvit-gdpr.json +18 -7
  56. package/rules/autoconsent/mites.gob.es.json +18 -0
  57. package/rules/autoconsent/react-cookie-consent-cosmetic.json +40 -0
  58. package/rules/autoconsent/supercontable.json +19 -0
  59. package/rules/autoconsent/tusclasesparticulares.com.json +14 -0
  60. package/rules/autoconsent/udg.edu.json +47 -0
  61. package/rules/autoconsent/uned-barbastro.json +58 -0
  62. package/rules/autoconsent/uregina.json +35 -0
  63. package/rules/autoconsent/vrg-bottom-cookies.json +52 -0
  64. package/rules/autoconsent/wiki.gg.json +1 -1
  65. package/rules/compact-rules.json +1 -1
  66. package/rules/rule-index.json +1 -1
  67. package/rules/rules.json +1 -1
  68. package/tests/adblockplus.spec.ts +7 -0
  69. package/tests/admiral.spec.ts +5 -4
  70. package/tests/alertamodal-cookies.spec.ts +8 -0
  71. package/tests/altamar-cookieconsent.spec.ts +6 -0
  72. package/tests/autohero.spec.ts +3 -0
  73. package/tests/bing.com-notice-cosmetic.spec.ts +5 -0
  74. package/tests/bing.com-notice.spec.ts +6 -0
  75. package/tests/bsgdprcookies.spec.ts +6 -0
  76. package/tests/casasrurales.spec.ts +3 -0
  77. package/tests/ccoo.spec.ts +5 -0
  78. package/tests/cdu-edu-au.spec.ts +3 -0
  79. package/tests/cnmc-gob-es.spec.ts +3 -0
  80. package/tests/comparandonos.spec.ts +3 -0
  81. package/tests/consent-backdrop.spec.ts +9 -0
  82. package/tests/cookie-accordion-settings.spec.ts +5 -0
  83. package/tests/cookies-tip-v1.spec.ts +3 -0
  84. package/tests/cookiesplus.spec.ts +6 -0
  85. package/tests/crtm.spec.ts +3 -0
  86. package/tests/edebe.spec.ts +3 -0
  87. package/tests/eduardolosilla.spec.ts +3 -0
  88. package/tests/educastur-alojaweb.spec.ts +6 -0
  89. package/tests/flatsome-cookies.spec.ts +3 -0
  90. package/tests/gameforge.spec.ts +8 -0
  91. package/tests/gamefound-com.spec.ts +3 -0
  92. package/tests/generalitat-catalunya.spec.ts +3 -0
  93. package/tests/ihavecookies.spec.ts +7 -1
  94. package/tests/imarina.spec.ts +8 -0
  95. package/tests/jobtoday.spec.ts +5 -0
  96. package/tests/kaggle.spec.ts +3 -0
  97. package/tests/mblock.spec.ts +3 -0
  98. package/tests/mirasvit-gdpr.spec.ts +5 -0
  99. package/tests/mites.gob.es.spec.ts +3 -0
  100. package/tests/react-cookie-consent-cosmetic.spec.ts +9 -0
  101. package/tests/supercontable.spec.ts +3 -0
  102. package/tests/trustarc.spec.ts +7 -0
  103. package/tests/tusclasesparticulares.com.spec.ts +3 -0
  104. package/tests/udg.edu.spec.ts +3 -0
  105. package/tests/uned-barbastro.spec.ts +3 -0
  106. package/tests/uregina.spec.ts +3 -0
  107. package/tests/vrg-bottom-cookies.spec.ts +3 -0
  108. package/rules/generated/auto_CA_promessedefleurs.com_noy.json +0 -40
  109. package/rules/generated/auto_FR_ludum.fr_gl5.json +0 -40
  110. package/rules/generated/auto_FR_meillandrichardier.com_c2f.json +0 -40
  111. package/tests/generated/auto_CA_promessedefleurs.com_noy.spec.ts +0 -6
  112. package/tests/generated/auto_FR_ludum.fr_gl5.spec.ts +0 -2
  113. package/tests/generated/auto_FR_meillandrichardier.com_c2f.spec.ts +0 -6
@@ -0,0 +1,7 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('adblockplus', ['https://adblockplus.org/'], {
4
+ testOptIn: true,
5
+ testSelfTest: true,
6
+ onlyRegions: ['US'],
7
+ });
@@ -3,10 +3,11 @@ import generateCMPTests from '../playwright/runner';
3
3
  generateCMPTests(
4
4
  'Admiral',
5
5
  [
6
- 'https://townhall.com/columnists/anthony-constantini/2026/07/23/break-googles-monopoly-for-good-n2679904',
7
- 'https://redstate.com/',
8
- 'https://twitchy.com/',
9
- 'https://hotair.com/',
6
+ 'https://steamcharts.com/',
7
+ 'https://www.linguee.com/',
8
+ 'https://www.buchstaben.com/',
9
+ 'https://www.dexerto.com/',
10
+ 'https://www.last.fm/',
10
11
  ],
11
12
  { testOptIn: false },
12
13
  );
@@ -0,0 +1,8 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('alertamodal-cookies', [
4
+ 'http://www.bibliotecaspublicas.es/',
5
+ 'https://www.todofp.es/',
6
+ 'https://www.becaseducacion.gob.es/',
7
+ 'https://www.infoartisticas.gob.es/',
8
+ ]);
@@ -0,0 +1,6 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ const urls = ['https://altamar.es/', 'https://altamar.cat/', 'https://inoxcyl.com/'];
4
+
5
+ generateCMPTests('altamar-cookieconsent', urls, { mobile: true });
6
+ generateCMPTests('altamar-cookieconsent', urls, { mobile: false });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('autohero', ['https://www.autohero.com/de/', 'https://www.autohero.com/es/']);
@@ -0,0 +1,5 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('bing.com-notice-cosmetic', ['https://www.bing.com/', 'https://www.bing.com/?setlang=fr-CA'], {
4
+ onlyRegions: ['CA'],
5
+ });
@@ -0,0 +1,6 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('bing.com-notice', ['https://www.bing.com/'], {
4
+ mobile: true,
5
+ onlyRegions: ['CA'],
6
+ });
@@ -0,0 +1,6 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('bsgdprcookies', [
4
+ 'https://www.editex.es/',
5
+ 'https://www.jqueryscript.net/demo/GDPR-Cookie-Consent-Bootstrap-4-bsgdprcookies/',
6
+ ]);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('casasrurales', ['https://www.casasrurales.net/', 'https://www.gites.net/', 'https://www.holidaycottagestorent.net/']);
@@ -0,0 +1,5 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('ccoo', ['https://ccoo.es/', 'https://ccoo.gal/', 'https://feccoo-madrid.org/', 'https://fsc.ccoo.es/'], {
4
+ testSelfTest: false,
5
+ });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('cdu-edu-au', ['https://www.cdu.edu.au/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('cnmc.gob.es', ['https://comparador.cnmc.gob.es/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('comparandonos', ['https://www.comparandonos.com/']);
@@ -0,0 +1,9 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('consent-backdrop', [
4
+ 'https://swedengameconference.se/',
5
+ 'https://swedengamearena.com/',
6
+ 'https://scienceparkskovde.se/',
7
+ 'https://v-dem.net/',
8
+ 'https://demscore.se/',
9
+ ]);
@@ -0,0 +1,5 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('cookie-accordion-settings', ['https://www.wwz.ch/', 'https://www.elipslife.com/'], {
4
+ testSelfTest: false,
5
+ });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('cookies-tip-v1', ['https://airmore.ai/', 'https://picwish.com/', 'https://lightpdf.com/', 'https://gitmind.com/']);
@@ -0,0 +1,6 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('cookiesplus', ['https://farmaciasenante.com/', 'https://www.ludum.fr/']);
4
+
5
+ // the reject button submits a form, reloading the page before the self-test runs
6
+ generateCMPTests('cookiesplus', ['https://passion-radio.fr/'], { testSelfTest: false });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('crtm', ['https://crtm.es/', 'https://transparencia.crtm.es/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('edebe', ['https://plus.edebe.com/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('eduardolosilla.es', ['https://www.eduardolosilla.es/']);
@@ -0,0 +1,6 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ // site is not reachable from outside a few EU regions
4
+ generateCMPTests('educastur-alojaweb', ['https://alojaweb.educastur.es/'], {
5
+ onlyRegions: ['DE', 'FR', 'NL', 'ES'],
6
+ });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('flatsome-cookies', ['https://www.sindicat.net/', 'https://wpsuperbox.com/']);
@@ -0,0 +1,8 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('gameforge', [
4
+ 'https://gameforge.com/',
5
+ 'https://lobby.ogame.gameforge.com/',
6
+ 'https://lobby.ikariam.gameforge.com/',
7
+ 'https://playcubio.com/',
8
+ ]);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('gamefound-com', ['https://gamefound.com/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('generalitat-catalunya', ['https://govern.cat/gov/', 'https://catalangovernment.eu/catalangovernment/']);
@@ -1,3 +1,9 @@
1
1
  import generateCMPTests from '../playwright/runner';
2
2
 
3
- generateCMPTests('ihavecookies', ['https://www.boligcenter.dk/', 'https://bleiche.de/', 'https://www.cop.es/', 'https://utools.gr/']);
3
+ generateCMPTests('ihavecookies', [
4
+ 'https://www.boligcenter.dk/',
5
+ 'https://bleiche.de/',
6
+ 'https://www.cop.es/',
7
+ 'https://utools.gr/',
8
+ 'https://www.asturias.es/',
9
+ ]);
@@ -0,0 +1,8 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('imarina', [
4
+ 'https://portalcientifico.upm.es/es/',
5
+ 'https://portalcientifico.uam.es/es/',
6
+ 'https://panorama.upv.es/es/',
7
+ 'https://portalcientifico.urjc.es/es/',
8
+ ]);
@@ -0,0 +1,5 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('jobtoday', ['https://jobtoday.com/'], {
4
+ skipRegions: ['US', 'NL'],
5
+ });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('kaggle', ['https://www.kaggle.com/', 'https://www.kaggle.com/competitions']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('mblock', ['https://ide.mblock.cc/']);
@@ -13,6 +13,11 @@ generateCMPTests(
13
13
  'https://www.autopflege-shop.de/',
14
14
  // has a "Decline" button in the bar, so the settings dialog is not needed
15
15
  'https://www.lamps-on-line.com/',
16
+ // Hyvä theme with "mst-gdpr-" class names and a "continue without accepting" button above the text
17
+ 'https://www.promessedefleurs.es/',
16
18
  ],
17
19
  {},
18
20
  );
21
+
22
+ // redirects visitors from other countries to a localized store, which reruns autoconsent
23
+ generateCMPTests('mirasvit-gdpr', ['https://www.meillandrichardier.com/'], { onlyRegions: ['FR'] });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('mites.gob.es', ['https://www.mites.gob.es/']);
@@ -0,0 +1,9 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('react-cookie-consent-cosmetic', [
4
+ 'https://buybetter.es/',
5
+ 'https://alpaca.markets/',
6
+ 'https://www.wheeliz.com/',
7
+ 'https://minivel.com/',
8
+ 'https://kamilwysocki.com/',
9
+ ]);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('supercontable', ['https://www.supercontable.com/', 'https://www.superfactu.com/'], {});
@@ -11,3 +11,10 @@ generateCMPTests('TrustArc-top', ['https://www.garmin.com/de-DE/'], {
11
11
  testSelfTest: false,
12
12
  skipRegions: ['US'],
13
13
  });
14
+
15
+ // in-page preference center (no "Decline" shortcut on the banner)
16
+ generateCMPTests('TrustArc-top', ['https://www.ea.com/games/it-takes-two/it-takes-two', 'https://www.ea.com/'], {
17
+ testOptOut: true,
18
+ testOptIn: false,
19
+ onlyRegions: ['CA', 'AU', 'JP'],
20
+ });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('tusclasesparticulares.com', ['https://www.tusclasesparticulares.com/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('udg.edu', ['https://www.udg.edu/ca/', 'https://www.udg.edu/es/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('uned-barbastro', ['http://akademosweb.uned.es/', 'https://www.unedbarbastro.es/', 'https://www.aulavirtualexamenes.es/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('uregina', ['https://www.uregina.ca/']);
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('vrg-bottom-cookies', ['https://vistula.pl/', 'https://wolczanka.pl/', 'https://bytom.com.pl/']);
@@ -1,40 +0,0 @@
1
- {
2
- "name": "auto_CA_promessedefleurs.com_noy",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.promessedefleurs.com/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?promessedefleurs\\.com/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])",
30
- "comment": "Refuser"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])",
36
- "timeout": 1000,
37
- "check": "none"
38
- }
39
- ]
40
- }
@@ -1,40 +0,0 @@
1
- {
2
- "name": "auto_FR_ludum.fr_gl5",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.ludum.fr/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?ludum\\.fr/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div#cookiesplus-modal-container > div:not([id]) > div:nth-child(1)#cookiesplus-modal > div:nth-child(3)#cookiesplus-content > div:not([id]) > form#cookiesplus-form > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > button:not([id])"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div#cookiesplus-modal-container > div:not([id]) > div:nth-child(1)#cookiesplus-modal > div:nth-child(3)#cookiesplus-content > div:not([id]) > form#cookiesplus-form > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > button:not([id])"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div#cookiesplus-modal-container > div:not([id]) > div:nth-child(1)#cookiesplus-modal > div:nth-child(3)#cookiesplus-content > div:not([id]) > form#cookiesplus-form > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > button:not([id])",
30
- "comment": "Rejeter"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div#cookiesplus-modal-container > div:not([id]) > div:nth-child(1)#cookiesplus-modal > div:nth-child(3)#cookiesplus-content > div:not([id]) > form#cookiesplus-form > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1):not([id]) > div: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_FR_meillandrichardier.com_c2f",
3
- "cosmetic": false,
4
- "_metadata": {
5
- "vendorUrl": "http://www.meillandrichardier.com/"
6
- },
7
- "runContext": {
8
- "main": true,
9
- "frame": false,
10
- "urlPattern": "^https?://(www\\.)?meillandrichardier\\.com/"
11
- },
12
- "prehideSelectors": [],
13
- "detectCmp": [
14
- {
15
- "exists": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])"
16
- }
17
- ],
18
- "detectPopup": [
19
- {
20
- "visible": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])"
21
- }
22
- ],
23
- "optIn": [],
24
- "optOut": [
25
- {
26
- "wait": 500
27
- },
28
- {
29
- "waitForThenClick": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])",
30
- "comment": "Refuser"
31
- }
32
- ],
33
- "test": [
34
- {
35
- "waitForVisible": "body > div#gdprCookieBar > div:not([id]) > div:nth-child(1):not([id]) > div:not([id]) > div:nth-child(2):not([id]) > button:nth-child(3):not([id])",
36
- "timeout": 1000,
37
- "check": "none"
38
- }
39
- ]
40
- }
@@ -1,6 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_CA_promessedefleurs.com_noy', ['https://www.promessedefleurs.com/'], {
3
- testOptIn: false,
4
- testSelfTest: true,
5
- onlyRegions: ['CA'],
6
- });
@@ -1,2 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_FR_ludum.fr_gl5', ['https://www.ludum.fr/'], { testOptIn: false, testSelfTest: true, onlyRegions: ['FR'] });
@@ -1,6 +0,0 @@
1
- import generateCMPTests from '../../playwright/runner';
2
- generateCMPTests('auto_FR_meillandrichardier.com_c2f', ['https://www.meillandrichardier.com/'], {
3
- testOptIn: false,
4
- testSelfTest: true,
5
- onlyRegions: ['FR'],
6
- });