Skip to content

Test sheet component with dioxus-test - #302

Open
hovinen wants to merge 23 commits into
DioxusLabs:mainfrom
hovinen:test-sheet-with-dioxus-test
Open

hovinen wants to merge 23 commits into
DioxusLabs:mainfrom
hovinen:test-sheet-with-dioxus-test

Conversation

@hovinen

@hovinen hovinen commented Sep 25, 2026 •

Copy link
Copy Markdown

This adds unit tests using dioxus-test to the Sheet component mirroring the existing Playwright tests in playwright/sheet.spec.ts.

Unfortunately, it turns out that some of the functionality in the Sheet component uses JavaScript, so is unavailable on the native stack. This PR includes corresponding tests, but ignores them with reference to the missing functionality. Other tests had to be adjusted to account for this.

This updates the dependency on Dioxus and related crates to point to the Git repositories, in various branches containing required functionality. These branches are themselves based on HEAD, which contains some breaking changes compared to existing functionality. This is the first PR in the chain which exercises the preview crate, where some changes were needed to make the code compile. The changes will presumably also need to be applied to the earlier PRs in this chain before merging.

This builds on top of #301 .

@hovinen hovinen changed the title Test sheet component with dioxus test Test sheet component with dioxus-test Sep 25, 2026

This branch has not been deployed

No deployments
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