Skip to content

Commit

Permalink
fix: wait for idle before getting the app namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Jun 24, 2024
1 parent 04f02aa commit 2557c5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-assaySpec.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ test_that("assaySpecServer module works as expected in the test app", {
load_timeout = 300000
)

app$wait_for_idle(timeout = 20000)

ns <- module_ns_shiny2(app)

# Validation message because no assays eligible in first experiment.
app$wait_for_idle(timeout = 20000)
res <- app$get_value(output = ns("result"))
expect_identical(res$message, "No assays eligible for this experiment, please make sure to add normalized assays")

Expand Down

0 comments on commit 2557c5e

Please sign in to comment.