Repository navigation
test(apps): prove native app rendering in Chromium and draw every UI kit element - #646
Merged
Merged
Conversation
…kit element Part of closing #626. Checking its acceptance criteria showed missing evidence; this adds it. - remote-app-view: grids, times and action menus are now drawn in a test, so all 27 UI kit elements are covered; choosing an action menu item reaches the app. - The remote UI browser fixture gains three pages. Chromium checks: - dark theme and German: the context reaches the app, and the platform draws around it in German; - an app whose root is a dialog is the platform's dialog: focus stays inside while tabbing, Escape closes it, and focus returns to the control that opened it; - two apps side by side stay apart; app code cannot read the platform page, the other app's frame, cookies or storage; messages it forges with the other app's binding are ignored, and the other app keeps working. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of closing #626. I checked its acceptance criteria against the code and tests. Several needed evidence that did not exist; this PR adds it.
Every UI kit element drawn in a test
ui-grid,ui-timeandui-action-menuwere never drawn in platform tests.remote-app-view.test.tsxnow draws them, and choosing an action menu item sendsselectto the app. All 27 UI kit elements are now covered.Chromium, over the real frame transport
The remote UI browser fixture (App Runtime Reference job) gains three pages:
#dark-deLocale de-DE · Theme dark), and the platform draws around it in German.#dialogui-dialogbecomes the platform's own dialog. Focus stays inside while tabbing, Escape closes it, and focus returns to the control that opened it.#pairlocalStorage. Messages it forges with the other app's binding (a tree batch and a toast) are ignored, and the other app keeps working.Tests
remote-app-view.test.tsx: 4 pass locally.Bun.build). Typecheck and both oxlint configs are clean.🤖 Generated with Claude Code