Skip to content

Commit

Permalink
Add zentralruf-de (#461)
Browse files Browse the repository at this point in the history
* Add zentralruf-de

refs ghostery/broken-page-reports#709

* chore: add url pattern to zentralruf-de
  • Loading branch information
seia-soto authored Jul 1, 2024
1 parent 775d48a commit 3562de6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions rules/autoconsent/zentralruf-de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "zentralruf-de",
"runContext": {
"urlPattern": "^https://(www\\.)?zentralruf\\.de"
},
"prehideSelectors": ["#cookie_modal_wrapper"],
"detectCmp": [{ "exists": "#cookie_modal_wrapper" }],
"detectPopup": [{ "visible": "#cookie_modal_wrapper" }],
"optIn": [
{
"waitForThenClick": "#cookie_modal_wrapper #cookie_modal_button_consent_all"
}
],
"optOut": [
{ "waitForThenClick": "#cookie_modal_wrapper #cookie_modal_button_choose" }
]
}
3 changes: 3 additions & 0 deletions tests/zentralruf-de.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import generateCMPTests from "../playwright/runner";

generateCMPTests("zentralruf-de", ["https://www.zentralruf.de/"]);

0 comments on commit 3562de6

Please sign in to comment.