compose-multiplatform
compose-multiplatform copied to clipboard
Implement all unimplemented methods inside ui-test module
Search TODO() in this module:
I tried to use performTextInput
in Compose Desktop UI testing and found it's a TODO()
.
+1 user ready to go 😄 Subscribed.
Any ETA on this issue? It would be great to have an ability to use performTextInput
in desktop tests.
So you wanna use performTextInput
? You're an ambitious one! I just wished to humbly call assertIsDisplayed
on a node... ;)
(See https://github.com/JetBrains/androidx/blob/jb-main/compose/ui/ui-test/src/desktopMain/kotlin/androidx/compose/ui/test/DesktopAssertions.desktop.kt)
Now seriously, is this on the roadmap for 1.2.0? Desktop UI testing is basically impossible as of now...
By skimming the referenced commit, I'd say everything is done but for pressing keys down and release them up, am I right?
Also, which milestone is this added to? 1.2.0? 1.3.0?
Thanks!
(Also, if it's not completely fixed, shouldn't the ticket stay open?)
Oh, sorry for confusion. It was closed automatically, even when I wrote "Partially fixed" 🤦.
Full official test support is not on roadmap for 1.2, we are just doing small incremental fixes now.
I appreciate the quick answer! :)
I'd say everything is done but for pressing keys down and release them up
That, and:
- methods inside DesktopAssertions
- dialog testing support
- the main clock advancement (there are some issues)
- fix all bugs and race conditions
Fixed in 1.5.0-beta02