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

Snapshots are deleted when tests are skipped due to a Chromote time out error #373

Open
LDSamson opened this issue Jan 30, 2024 · 0 comments

Comments

@LDSamson
Copy link

Related to this issue.

When I run my unit tests in a package that include shinytest2 tests, sometimes I get this Chromote timeout:

Error : Chromote: timed out waiting for response to command Target.createTarget

Then the following happens:

  1. The test is skipped (as expected because of the Chromote error)
  2. All shinytest2 snapshots are deleted since they are 'unused'.

Is it possible that, if a test is skipped due to a Chromote error, snapshots are being kept?

(By the way, thanks for creating this great package, I am using it a lot recently)

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