Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMPs #492

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add CMPs #492

wants to merge 10 commits into from

Conversation

seia-soto
Copy link
Contributor

@seia-soto seia-soto commented Sep 25, 2024

@seia-soto seia-soto changed the title Add BigCommerce, Mediapart, NationalGrid Powercuts Add CMPs Sep 25, 2024
@muodov muodov added the minor Increment the minor version when merged label Oct 7, 2024
@muodov muodov requested review from muodov and removed request for sammacbeth October 9, 2024 14:08
rules/autoconsent/bigcommerce.json Outdated Show resolved Hide resolved
rules/autoconsent/combi-de.json Outdated Show resolved Hide resolved
rules/autoconsent/mediapart-fr.json Show resolved Hide resolved
rules/autoconsent/readly.json Outdated Show resolved Hide resolved
@seia-soto
Copy link
Contributor Author

Hi @muodov ,

Sorry for being late. I missed the notification email.

I updated the PR based on the feedback and the latest DOM structures. Please, review the PR again when you have a time.

@seia-soto seia-soto requested a review from muodov October 21, 2024 09:46
"if": { "exists": "div[data-consent-manager-dialog]" },
"then": [
{
"click": "div[data-consent-manager-dialog] form button:not([type='submit'])"
Copy link
Member

Choose a reason for hiding this comment

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

In my testing, pressing this button was not enough because it triggers another dialog. We should probably actually click the radio buttons in the dialog, rejecting the individual categories, and then click "Save"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I made some changes by manually referencing the DOM but I wasn't able to get the popup on my side again. Thus, I put another conditional step after all to handle the options popup. If you're able to see it, can you try to test it on your side?

@muodov muodov self-requested a review November 7, 2024 15:08
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