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

Impossible to create multiple screenshots for a method #9

Open
olegosipenko opened this issue Jul 9, 2023 · 0 comments
Open

Impossible to create multiple screenshots for a method #9

olegosipenko opened this issue Jul 9, 2023 · 0 comments

Comments

@olegosipenko
Copy link

olegosipenko commented Jul 9, 2023

Sometimes it's necessary to take multiple screenshots in one test method - for example before and after some interaction. As far as I understand currently it's not possible because of two reasons:

  • there is no way to submit a custom fil name for screenshot. It's always the same filename
  • it throws AssertionError after storing first reference and test runner stops execution after it and therefore it doesn't execute the following code with next calls to snapshot

So, suggestion here is to provide a way to provide custom filenames and to not finish testing with throwing of AssertionError

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