Skip to content

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

Closed

Description

@LDSamson

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions