Skip to content

test: cover ChatGPT Ads injection - #277

Merged
davidperezgar merged 3 commits into
trunkfrom
test/chatgpt-ads-injection
Sep 3, 2026
Merged

test: cover ChatGPT Ads injection#277
davidperezgar merged 3 commits into
trunkfrom
test/chatgpt-ads-injection

Conversation

@davidperezgar

@davidperezgar davidperezgar commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add an executable DOM-style test for the Cookie Notice ChatGPT Ads flow
  • verify no SDK request occurs before consent, then verify SDK loading and pixel initialization after acceptance
  • cover initialization when another integration already provides window.oaiq

Validation

  • npm run test:cookie-notice
  • composer lint
  • composer phpstan
  • composer test
  • git diff --check
Open WordPress Playground Preview

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T11:04:19.619831Z e61663c New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7c4c71b60

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
Comment thread tests/js/cookie-notice-injection.test.js Outdated
Comment thread tests/js/cookie-notice-injection.test.js

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 50fef21e0f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/js/cookie-notice-injection.test.js Outdated
Comment thread tests/js/cookie-notice-injection.test.js
Comment thread tests/js/cookie-notice-injection.test.js Outdated
@davidperezgar
davidperezgar merged commit 6a4be3e into trunk Sep 3, 2026
6 checks passed
@davidperezgar
davidperezgar deleted the test/chatgpt-ads-injection branch September 3, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant