Skip to content

Commit 4dfb9b6

Browse files
m7prllrs-roche
andauthored
fix scheduled jobs (#263)
Closes #260 --------- Signed-off-by: Marcin <[email protected]> Co-authored-by: Lluís Revilla <[email protected]>
1 parent e928a89 commit 4dfb9b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ Imports:
2929
methods,
3030
rlang (>= 1.0.0),
3131
shiny (>= 1.6.0),
32-
shinyjs,
32+
shinyjs (>= 2.1.0),
3333
shinyvalidate (>= 0.1.3),
3434
stats,
3535
teal.data (>= 0.7.0),
3636
teal.logger (>= 0.3.1),
3737
teal.widgets (>= 0.4.3),
3838
tidyr (>= 1.0.0),
39-
tidyselect,
39+
tidyselect (>= 1.2.1),
4040
utils
4141
Suggests:
4242
bslib (>= 0.8.0),

tests/testthat/test-data_extract_module.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ testthat::test_that("Single filter", {
2525
testthat::expect_silent(filter <- input$children[[1]])
2626
testthat::expect_equal(filter$children[[1]]$children[[1]]$attribs, list(class = "shinyjs-hide"))
2727

28-
testthat::expect_equal(
29-
filter$children[[1]]$children[[2]]$children[[3]]$children[[1]]$children[[1]]$children[[2]]$attribs$multiple,
30-
"multiple"
31-
)
28+
tq <- htmltools::tagQuery(filter)
29+
filter_options <- tq$find("#filter1-vals")$selectedTags()
30+
testthat::expect_length(filter_options, 1L)
31+
testthat::expect_equal(filter_options[[1]]$attribs$multiple, "multiple")
3232

3333
# more tests - check levels of filtered variables
3434
# check also colummns selected

0 commit comments

Comments
 (0)