Skip to content

Commit 6342ace

Browse files
committed
Revert "Revert "Add autoconsent rules for https://www.tingstad.com/se-sv""
This reverts commit 3891753.
1 parent d503d91 commit 6342ace

File tree

4 files changed

+92
-0
lines changed

4 files changed

+92
-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_tingstad.com_sl7",
3+
"cosmetic": false,
4+
"_metadata": {
5+
"vendorUrl": "http://www.tingstad.com/"
6+
},
7+
"runContext": {
8+
"main": true,
9+
"frame": false,
10+
"urlPattern": "^https?://(www\\.)?tingstad\\.com/"
11+
},
12+
"prehideSelectors": [],
13+
"detectCmp": [
14+
{
15+
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1)#heading-StrictlyNecessary > button:nth-child(1):not([id])"
16+
}
17+
],
18+
"detectPopup": [
19+
{
20+
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1)#heading-StrictlyNecessary > button:nth-child(1):not([id])"
21+
}
22+
],
23+
"optIn": [],
24+
"optOut": [
25+
{
26+
"wait": 500
27+
},
28+
{
29+
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1)#heading-StrictlyNecessary > button:nth-child(1):not([id])",
30+
"comment": "Nödvändiga cookies"
31+
}
32+
],
33+
"test": [
34+
{
35+
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(1):not([id]) > div:nth-child(2):not([id]) > div:nth-child(1):not([id]) > div:nth-child(1)#heading-StrictlyNecessary > button:nth-child(1):not([id])",
36+
"timeout": 1000,
37+
"check": "none"
38+
}
39+
]
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "auto_NO_tingstad.com_z23",
3+
"cosmetic": false,
4+
"_metadata": {
5+
"vendorUrl": "http://www.tingstad.com/"
6+
},
7+
"runContext": {
8+
"main": true,
9+
"frame": false,
10+
"urlPattern": "^https?://(www\\.)?tingstad\\.com/"
11+
},
12+
"prehideSelectors": [],
13+
"detectCmp": [
14+
{
15+
"exists": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(2):not([id]) > button:nth-child(2):not([id])"
16+
}
17+
],
18+
"detectPopup": [
19+
{
20+
"visible": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(2):not([id]) > button:nth-child(2):not([id])"
21+
}
22+
],
23+
"optIn": [],
24+
"optOut": [
25+
{
26+
"wait": 500
27+
},
28+
{
29+
"waitForThenClick": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(2):not([id]) > button:nth-child(2):not([id])",
30+
"comment": "ENDAST NÖDVÄNDIGA"
31+
}
32+
],
33+
"test": [
34+
{
35+
"waitForVisible": "body > div:not([id]) > div:not([id]) > div:nth-child(17)#cookie-consent-popup > div:not([id]) > div:not([id]) > form:nth-child(2)#form0 > div:nth-child(2):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_NO_tingstad.com_sl7', ['https://www.tingstad.com/se-sv'], {
3+
testOptIn: false,
4+
testSelfTest: true,
5+
onlyRegions: ['NO'],
6+
});
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_NO_tingstad.com_z23', ['https://www.tingstad.com/se-sv'], {
3+
testOptIn: false,
4+
testSelfTest: true,
5+
onlyRegions: ['NO'],
6+
});

0 commit comments

Comments
 (0)