Skip to content

Provide CSS utilities in Magento integration test fixtures - #4

Merged
jissereitsma merged 2 commits into
masterfrom
copilot/fix-magento-2-integration-tests
Nov 22, 2026
Merged

jissereitsma merged 2 commits into
masterfrom
copilot/fix-magento-2-integration-tests

Conversation

@jissereitsma

@jissereitsma jissereitsma commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

The Magento 2 Integration Tests job failed with four errors because standalone template tests rendered templates without the expected $css helper.

  • Template fixtures: Create a block-bound CssClass and assign it before rendering, including for the container template.
  • Production behavior: Unchanged.
$css = ObjectManager::getInstance()->get(CssClassFactory::class)->create();
$block->assign('css', $css->setBlock($block));

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@jissereitsma jissereitsma changed the title [WIP] Fix failing GitHub Actions job Magento 2 Integration Tests Provide CSS utilities in Magento integration test fixtures Nov 14, 2026
@jissereitsma
jissereitsma marked this pull request as ready for review November 22, 2026 13:22
@jissereitsma
jissereitsma merged commit 996c0b0 into master Nov 22, 2026
12 checks passed
@jissereitsma

Copy link
Copy Markdown
Contributor Author

Thanks for the fix! Squash-merged into master. A follow-up test verifying the Loki_CssUtils observer wiring will be added.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T13:23:23.322259Z 32ec248 Draft marked ready
ℹ️ 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.

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.

2 participants