Expected behaviour
I can test a screen that contains a Dialog
Actual behaviour
When I try to execute a test in which I must test a Dialog, an error is returned.
I have used the suggested compareScreenshot(composeRule.onNodeWithTag(tag)) using the testTagof my dialog. However, it only caputures the content of the Dialog itself and not the content below, which I also want to be tested.
Steps to reproduce
- Show a screen and open a Dialog above it
- Perform
compareScreenshot()
- An error is thrown
Version of the library
6.0.0
Expected behaviour
I can test a screen that contains a Dialog
Actual behaviour
When I try to execute a test in which I must test a Dialog, an error is returned.
I have used the suggested
compareScreenshot(composeRule.onNodeWithTag(tag))using thetestTagof my dialog. However, it only caputures the content of the Dialog itself and not the content below, which I also want to be tested.Steps to reproduce
compareScreenshot()Version of the library
6.0.0