Skip to content

Commit

Permalink
Add a rule for csu-landtag.de (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
seia-soto authored Dec 28, 2023
1 parent b3d2be6 commit 47857ea
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
27 changes: 27 additions & 0 deletions rules/autoconsent/csu-landtag-de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "csu-landtag-de",
"runContext": {
"urlPattern": "^https://(www|)?\\.csu-landtag\\.de"
},
"prehideSelectors": ["#cookie-disclaimer"],
"detectCmp": [
{
"exists": "#cookie-disclaimer"
}
],
"detectPopup": [
{
"visible": "#cookie-disclaimer"
}
],
"optIn": [
{
"click": "#cookieall"
}
],
"optOut": [
{
"click": "#cookiesel"
}
]
}
5 changes: 5 additions & 0 deletions tests/csu-landtag-de.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import generateCMPTests from "../playwright/runner";

generateCMPTests('csu-landtag-de', [
'https://www.csu-landtag.de/',
]);

0 comments on commit 47857ea

Please sign in to comment.