diff --git a/rules/autoconsent/cassie.json b/rules/autoconsent/cassie.json new file mode 100644 index 00000000..18600d56 --- /dev/null +++ b/rules/autoconsent/cassie.json @@ -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" + } + ] +} diff --git a/tests/cassie.spec.ts b/tests/cassie.spec.ts new file mode 100644 index 00000000..911e2d3a --- /dev/null +++ b/tests/cassie.spec.ts @@ -0,0 +1,3 @@ +import generateCMPTests from '../playwright/runner'; + +generateCMPTests('cassie', ['https://zepbound.lilly.com/coverage-savings']);