Skip to content

Rule update: CPM crawl cluster #90: mediaset.it (iubenda|inert, 13 sites) - #1484

Open
daxtheduck wants to merge 6 commits into
mainfrom
cursor/mediaset-cookie-consent-rule-7859
Open

Rule update: CPM crawl cluster #90: mediaset.it (iubenda|inert, 13 sites)#1484
daxtheduck wants to merge 6 commits into
mainfrom
cursor/mediaset-cookie-consent-rule-7859

Conversation

@daxtheduck

@daxtheduck daxtheduck commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Task/Issue URL: https://app.asana.com/1/137249556945/project/1203268166580279/task/1217180086951827?focus=true

Description:

Automated autoconsent rule update from CPM triage.

Steps to test this PR:

  • Review the agent test evidence linked from the Asana task.
  • Review the regional screenshots and results linked from the Asana task.

Note

Low Risk
Autoconsent rule and test URL list changes only; no secrets or security-sensitive logic in the diff.

Overview
Adds a dedicated iubenda-rti autoconsent rule for Italian Mediaset and related publisher domains (via urlPattern), using RTI-specific controls (#rti-privacy-open-modal-btn-id, #rti-privacy-close-btn-id) instead of the generic iubenda banner/reject flow.

Playwright coverage is added for Mediaset Infinity and TGCOM24 with opt-in and self-test disabled. The shared iubenda spec drops tuttoandroid.net from its URL list so that site is no longer exercised under the generic rule in this suite.

Reviewed by Cursor Bugbot for commit 4a0a37c. Bugbot is set up for automated code reviews on this repo. Configure here.

cursoragent and others added 3 commits August 7, 2026 05:10
Co-authored-by: Dax <daxtheduck@users.noreply.github.com>
Co-authored-by: Dax <daxtheduck@users.noreply.github.com>
Co-authored-by: Dax <daxtheduck@users.noreply.github.com>
@daxtheduck daxtheduck added category: rules Autoconsent rule additions, updates, and generated rule changes version: minor Increment the minor version when merged labels Aug 13, 2026
Comment thread rules/autoconsent/iubenda.json Outdated
@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

Co-authored-by: Dax <daxtheduck@users.noreply.github.com>
@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

cursoragent and others added 2 commits August 17, 2026 10:08
Restore the generic iubenda rule to its prior detection and opt-out
flow, and move the RTI/Mediaset continue-without-accepting modal into a
urlPattern-scoped iubenda-rti rule with focused Playwright coverage.

Co-authored-by: Dax <daxtheduck@users.noreply.github.com>
Co-authored-by: Dax <daxtheduck@users.noreply.github.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4a0a37c. Configure here.

},
"prehideSelectors": ["#iubenda-cs-banner"],
"detectCmp": [{ "exists": "#rti-privacy-open-modal-btn-id" }],
"detectPopup": [{ "visible": "#rti-privacy-open-modal-btn-id" }],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong popup detection selectors

High Severity

detectCmp and detectPopup both key off #rti-privacy-open-modal-btn-id, while prehideSelectors still targets #iubenda-cs-banner. That open-modal control is the opt-out entry point, not the consent banner, so the rule can match when no banner is shown and keep matching after dismiss. Because this site-specific rule wins over generic iubenda, a hidden RTI button can also block the banner from being handled at all.


Please tell me if this was useful or not with a 👍 or 👎.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 4a0a37c. Configure here.

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

@daxtheduck

Copy link
Copy Markdown
Collaborator Author

CI run finished. Artifacts ZIP for the review tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: rules Autoconsent rule additions, updates, and generated rule changes version: minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants