Skip to content

Commit 78e572e

Browse files
daxtheduckmuodov
authored andcommitted
Add autoconsent rules for https://www.arteradio.com/
1 parent b82c72f commit 78e572e

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_FR_arteradio.com_lj3",
3+
"cosmetic": false,
4+
"_metadata": {
5+
"vendorUrl": "http://www.arteradio.com/"
6+
},
7+
"runContext": {
8+
"main": true,
9+
"frame": false,
10+
"urlPattern": "^https?://(www\\.)?arteradio\\.com/"
11+
},
12+
"prehideSelectors": [],
13+
"detectCmp": [
14+
{
15+
"exists": "body > div#radix-\\:Rj6\\: > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
16+
}
17+
],
18+
"detectPopup": [
19+
{
20+
"visible": "body > div#radix-\\:Rj6\\: > div:nth-child(3):not([id]) > button:nth-child(2):not([id])"
21+
}
22+
],
23+
"optIn": [],
24+
"optOut": [
25+
{
26+
"wait": 500
27+
},
28+
{
29+
"waitForThenClick": "body > div#radix-\\:Rj6\\: > div:nth-child(3):not([id]) > button:nth-child(2):not([id])",
30+
"comment": "Tout refuser"
31+
}
32+
],
33+
"test": [
34+
{
35+
"waitForVisible": "body > div#radix-\\:Rj6\\: > div:nth-child(3):not([id]) > button:nth-child(2):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_FR_arteradio.com_lj3', ['https://www.arteradio.com/'], {
3+
testOptIn: false,
4+
testSelfTest: true,
5+
onlyRegions: ['FR'],
6+
});

0 commit comments

Comments
 (0)