@duckduckgo/autoconsent 16.18.0 → 16.19.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.
@@ -0,0 +1,5 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('gmx-permission', ['https://www.gmx.com/', 'https://support.gmx.com/'], {
4
+ mobile: true,
5
+ });
@@ -1,6 +1,5 @@
1
1
  import generateCMPTests from '../playwright/runner';
2
2
 
3
3
  generateCMPTests('pornhub.com', ['https://pornhub.com/'], {
4
- expectedRuns: 1,
5
- testSelfTest: false,
4
+ expectedRuns: 2,
6
5
  });
@@ -0,0 +1,3 @@
1
+ import generateCMPTests from '../playwright/runner';
2
+
3
+ generateCMPTests('simyo-nl', ['https://www.simyo.nl/klantenservice/roaming'], { testOptIn: false, testSelfTest: true });
@@ -152,6 +152,10 @@ describe('classifyButtonTextRegex', () => {
152
152
  it('does not match partial exact string patterns', () => {
153
153
  expect(classifyButtonTextRegex('no problem')).to.equal('other');
154
154
  });
155
+
156
+ it('does not treat revoke links as reject buttons', () => {
157
+ expect(classifyButtonTextRegex('Widerrufen')).to.equal('other');
158
+ });
155
159
  });
156
160
 
157
161
  describe('classifyButtons', () => {