Skip to content

Commit 50c772c

Browse files
daxtheduckmuodov
authored andcommitted
Add autoconsent rules for https://www.uu.se/
1 parent 3f3c698 commit 50c772c

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-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_NO_uu.se_u88",
3+
"cosmetic": false,
4+
"_metadata": {
5+
"vendorUrl": "http://www.uu.se/"
6+
},
7+
"runContext": {
8+
"main": true,
9+
"frame": false,
10+
"urlPattern": "^https?://(www\\.)?uu\\.se/"
11+
},
12+
"prehideSelectors": [],
13+
"detectCmp": [
14+
{
15+
"exists": "body > div#sv_DljVopImLP8D-oAGr1U8S > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > form:nth-child(2):not([id]) > button:nth-child(3):not([id])"
16+
}
17+
],
18+
"detectPopup": [
19+
{
20+
"visible": "body > div#sv_DljVopImLP8D-oAGr1U8S > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > form: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#sv_DljVopImLP8D-oAGr1U8S > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > form:nth-child(2):not([id]) > button:nth-child(3):not([id])",
30+
"comment": "Godkänn nödvändiga kakor"
31+
}
32+
],
33+
"test": [
34+
{
35+
"waitForVisible": "body > div#sv_DljVopImLP8D-oAGr1U8S > div:not([id]) > div:not([id]) > div:nth-child(3):not([id]) > form:nth-child(2):not([id]) > button:nth-child(3):not([id])",
36+
"timeout": 1000,
37+
"check": "none"
38+
}
39+
]
40+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import generateCMPTests from '../../playwright/runner';
2+
generateCMPTests('auto_NO_uu.se_u88', ['https://www.uu.se/'], { testOptIn: false, testSelfTest: true, onlyRegions: ['NO'] });

0 commit comments

Comments
 (0)