compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

Implement all unimplemented methods inside ui-test module

Open igordmn opened this issue 2 years ago • 8 comments

Search TODO() in this module: image

igordmn avatar Sep 17 '21 16:09 igordmn

I tried to use performTextInput in Compose Desktop UI testing and found it's a TODO(). +1 user ready to go 😄 Subscribed.

chris-hatton avatar Oct 21 '21 05:10 chris-hatton

Any ETA on this issue? It would be great to have an ability to use performTextInput in desktop tests.

qradimir avatar Mar 17 '22 08:03 qradimir

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...

serandel avatar Jun 29 '22 04:06 serandel

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!

serandel avatar Jul 26 '22 13:07 serandel

(Also, if it's not completely fixed, shouldn't the ticket stay open?)

serandel avatar Jul 26 '22 13:07 serandel

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.

igordmn avatar Jul 26 '22 13:07 igordmn

I appreciate the quick answer! :)

serandel avatar Jul 26 '22 13:07 serandel

I'd say everything is done but for pressing keys down and release them up

That, and:

igordmn avatar Jul 26 '22 13:07 igordmn

Fixed in 1.5.0-beta02

igordmn avatar Aug 17 '23 11:08 igordmn