Skip to content

test: refresh stale toolbar UI contracts - #337

Draft
PathGao wants to merge 1 commit into
alecdotdev:masterfrom
PathGao:fix/refresh-stale-ui-test-contracts
Draft

test: refresh stale toolbar UI contracts#337
PathGao wants to merge 1 commit into
alecdotdev:masterfrom
PathGao:fix/refresh-stale-ui-test-contracts

Conversation

@PathGao

@PathGao PathGao commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates two source-contract tests that no longer matched the current UI implementation:

  • verify forwarding of editor-toolbar action payloads to Monaco
  • verify the shipped application/editor toolbar sections instead of removed accordion markup

Root cause

The previous assertions described UI structures that had already changed on master, so npm test failed even without a product-code regression.

Validation

  • npm run check (0 errors; one pre-existing Settings modal accessibility warning)
  • npm test (126 passing)

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