Skip to content

compare_screenshot_threshold() should not error from screenshot_max_difference()#276

Merged
schloerke merged 4 commits intomainfrom
compare_screenshot_error
Nov 4, 2022
Merged

compare_screenshot_threshold() should not error from screenshot_max_difference()#276
schloerke merged 4 commits intomainfrom
compare_screenshot_error

Conversation

@schloerke
Copy link
Copy Markdown
Collaborator

If screenshot_max_difference() throws and error, compare_screenshot_threshold() should return FALSE (to signify the images are different).

@schloerke schloerke marked this pull request as ready for review November 4, 2022 14:30
@schloerke
Copy link
Copy Markdown
Collaborator Author

Failure is unrelated to PR. Merging

@schloerke schloerke merged commit 8d0b931 into main Nov 4, 2022
@schloerke schloerke deleted the compare_screenshot_error branch November 4, 2022 14:57
schloerke added a commit that referenced this pull request Feb 19, 2023
schloerke added a commit that referenced this pull request Feb 22, 2023
* main:
  Update cran-comments.md
  Update cran-comments.md
  Run revdep
  Move crashpad file to setup test file
  Update cran-comments.md
  Remove detritus Crashpad file/directory on CRAN
  Don't use github `{lintr}` or `{decor}` package
  Run revdep on 12 pkgs; ✅
  Remove C++11 from DESCRIPTION (#326)
  News entries for #284 and #288
  Load global vars when saving app objects (#307)
  Better error message when both app.R and server.R are found (#284)
  Don't assume preview overflow is of length 1 (#291)
  Force JS code to be a character for `{glue}` support (#288)
  fix typo: expect_unqiue_names -> expect_unique... (#270)
  Fix typo: use_shinytest -> use_shinytest2 (#269)
  `compare_screenshot_threshold()` should not error from `screenshot_max_difference()` (#276)
  Increment version number to 0.2.1
  Change default screenshot selector to `"scrollable_area"` (from bounding box of `"html"` DOM) (#325)
  actions/test-app; Add multi app `app-dir` support; Default upload-snapshot to `true`  (#322)
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

Successfully merging this pull request may close these issues.

1 participant