Skip to content

Commit

Permalink
Add Cassie rule (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
sammacbeth authored Nov 22, 2024
1 parent ed1d9a0 commit 3f7b676
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions rules/autoconsent/cassie.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "cassie",
"vendorUrl": "https://trustcassie.com",
"cosmetic": false,
"runContext": {
"main": true,
"frame": false
},
"prehideSelectors": [".cassie-cookie-module"],
"detectCmp": [
{
"exists": ".cassie-pre-banner"
}
],
"detectPopup": [
{
"visible": "#cassie_pre_banner_text"
}
],
"optIn": [
{
"waitForThenClick": ".cassie-accept-all"
}
],
"optOut": [
{
"waitForThenClick": ".cassie-reject-all"
}
]
}
3 changes: 3 additions & 0 deletions tests/cassie.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import generateCMPTests from '../playwright/runner';

generateCMPTests('cassie', ['https://zepbound.lilly.com/coverage-savings']);

0 comments on commit 3f7b676

Please sign in to comment.