Skip to content

Commit 3ac9557

Browse files
daxtheduckmuodov
authored andcommitted
Add autoconsent rules for https://www.windowspower.de/
1 parent 9bf84bd commit 3ac9557

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "auto_DE_windowspower.de_jnw",
3+
"cosmetic": false,
4+
"_metadata": {
5+
"vendorUrl": "http://www.windowspower.de/"
6+
},
7+
"runContext": {
8+
"main": true,
9+
"frame": false,
10+
"urlPattern": "^https?://(www\\.)?windowspower\\.de/"
11+
},
12+
"prehideSelectors": [],
13+
"detectCmp": [
14+
{
15+
"exists": "body > div#a89ad660d-871a-4cf8-b8a4-8ee4e63a9be8 > dialog:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > a:nth-child(3):not([id])"
16+
}
17+
],
18+
"detectPopup": [
19+
{
20+
"visible": "body > div#a89ad660d-871a-4cf8-b8a4-8ee4e63a9be8 > dialog:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > a:nth-child(3):not([id])"
21+
}
22+
],
23+
"optIn": [],
24+
"optOut": [
25+
{
26+
"wait": 500
27+
},
28+
{
29+
"waitForThenClick": "body > div#a89ad660d-871a-4cf8-b8a4-8ee4e63a9be8 > dialog:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > a:nth-child(3):not([id])",
30+
"comment": "Weiter ohne Einwilligung"
31+
}
32+
],
33+
"test": [
34+
{
35+
"waitForVisible": "body > div#a89ad660d-871a-4cf8-b8a4-8ee4e63a9be8 > dialog:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > a:nth-child(3):not([id])",
36+
"timeout": 1000,
37+
"check": "none"
38+
}
39+
]
40+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import generateCMPTests from '../../playwright/runner';
2+
generateCMPTests('auto_DE_windowspower.de_jnw', ['https://www.windowspower.de/'], {
3+
testOptIn: false,
4+
testSelfTest: true,
5+
onlyRegions: ['DE'],
6+
});

0 commit comments

Comments
 (0)