Skip to content

Tweak Onetrust and Trustarc#1252

Open
muodov wants to merge 2 commits intomainfrom
ot-tweak
Open

Tweak Onetrust and Trustarc#1252
muodov wants to merge 2 commits intomainfrom
ot-tweak

Conversation

@muodov
Copy link
Copy Markdown
Member

@muodov muodov commented Apr 13, 2026

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

Description:

Steps to test this PR:


Note

Medium Risk
Behavior changes in CMP automation flows (OneTrust and TrustArc) can cause missed or incorrect opt-out interactions on affected sites, though scope is limited to selector/timeout tweaks and test updates.

Overview
Improves CMP opt-out robustness for OneTrust by adding a short delay and trying multiple reject-all selectors individually instead of a single combined check.

Updates TrustArc (iframe) opt-out to support an additional decline button selector and removes the early-return path that skipped opt-out when the self-test indicated an already-set state.

Extends Playwright coverage by adding new real-world sites to the OneTrust and TrustArc-frame test matrices.

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

@muodov muodov changed the title Ot-tweak Tweak Onetrust and Trustarc Apr 13, 2026
@muodov muodov added the minor Increment the minor version when merged label Apr 13, 2026
@daxtheduck
Copy link
Copy Markdown
Collaborator

CI run finished. Artifacts ZIP for the review tool

@daxtheduck
Copy link
Copy Markdown
Collaborator

CI run finished. Artifacts ZIP for the review tool

@daxtheduck
Copy link
Copy Markdown
Collaborator

CI run finished. Artifacts ZIP for the review tool

@daxtheduck
Copy link
Copy Markdown
Collaborator

CI run finished. Artifacts ZIP for the review tool

@muodov muodov requested a review from sammacbeth April 20, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Increment the minor version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants