Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions tests/testthat/test-shinytest2-data_summary.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
withr::local_options(
list(
shinytest2.timeout = max(
getOption("shinytest2.timeout", default = 0),
as.numeric(Sys.getenv("SHINYTEST2_TIMEOUT", unset = 0)),
30 * 1000
),
shinytest2.load_timeout = max(
getOption("shinytest2.load_timeout", default = 0),
as.numeric(Sys.getenv("SHINYTEST2_LOAD_TIMEOUT", unset = 0)),
20 * 10000
),
shinytest2.duration = max(
getOption("shinytest2.duration", default = 0),
as.numeric(Sys.getenv("SHINYTEST2_DURATION", unset = 0)),
0.5 * 1000
)
),
.local_envir = testthat::test_env()
)

testthat::test_that("e2e: data summary just list the unfilterable objects at the bottom when provided", {
skip_if_too_deep(5)
app <- TealAppDriver$new(
Expand Down
Loading