diff --git a/tests/testthat/test-snapshot.R b/tests/testthat/test-snapshot.R index f55636227..d10f75f2a 100644 --- a/tests/testthat/test-snapshot.R +++ b/tests/testthat/test-snapshot.R @@ -62,11 +62,11 @@ test_that("example data loads with no error",{ App$wait_for_idle(duration = 3000, timeout = duration) } - App$expect_screenshot(cran = TRUE, name = paste0(board, "_", tab), threshold = 10, selector = "viewport", threshold = 40) + App$expect_screenshot(cran = TRUE, name = paste0(board, "_", tab), threshold = 40, selector = "viewport") }) } else { App$wait_for_idle(duration = 3000) - App$expect_screenshot(cran = TRUE, name = board, threshold = 10, selector = "viewport", threshold = 40) + App$expect_screenshot(cran = TRUE, name = board, threshold = 40, selector = "viewport") } }) })