https://kotlinlang.org logo
l

Lukasz Kalnik

02/01/2023, 8:57 AM
I'm writing UI tests for Compose. I use
onNodeWithTag("my tag").assertIsNotDisplayed()
. If the test fails it only prints:
Copy code
Assert failed: The component is displayed!
Can I configure the
assertIs...
methods to also print the tag in case of test failure?