Skip to content

Test tabs with dioxus test - #300

Open
hovinen wants to merge 16 commits into
DioxusLabs:mainfrom
hovinen:test-tabs-with-dioxus-test
Open

Test tabs with dioxus test#300
hovinen wants to merge 16 commits into
DioxusLabs:mainfrom
hovinen:test-tabs-with-dioxus-test

Conversation

@hovinen

@hovinen hovinen commented Sep 4, 2026

Copy link
Copy Markdown

This builds on #289 and adds some tests of the tabs components using dioxus-test.

This includes a bunch of changes to update the components to the current Dioxus version, which was necessary to get the tests to compile. Once the dependent PRs in Blitz, Dioxus, and dioxus-test are merged, I'll split out a separate PR to do the necessary updates. For now, one may focus on the tests in tabs.rs.

This also fixes one bug which came up while writing tests: The content of the currently active tab was in a div with an attribue hidden="false". This doesn't actually make the element visible according the spec. One must remove the hidden attribute entirely to show the element.

hovinen and others added 16 commits August 29, 2026 19:02
This is intended as a starting point for porting more tests. It shows
what one can already do with dixous-test.

Since this depends on some changes to Dioxus and Blitz which have not
yet been released (as of the time of writing), this adds dependency
overrides to point to the current HEAD of the respective Git
repositories.
This is intended as a starting point for porting more tests. It shows
what one can already do with dixous-test.

Since this depends on some changes to Dioxus and Blitz which have not
yet been released (as of the time of writing), this adds dependency
overrides to point to the current HEAD of the respective Git
repositories.
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