Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshot of a Dialog in Compose shown over the app content #353

Open
jdelga opened this issue Feb 9, 2024 · 0 comments
Open

Screenshot of a Dialog in Compose shown over the app content #353

jdelga opened this issue Feb 9, 2024 · 0 comments

Comments

@jdelga
Copy link

jdelga commented Feb 9, 2024

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

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

No branches or pull requests

1 participant