Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update snapshot, add wait_for_idle #369

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
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
Binary file modified tests/testthat/_snaps/windows-4.3/boxplot/boxplot-001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/forest/forest_tte-001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/pca/pca-004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/pca/pca-007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/pca/pca-008.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/pca/pca-009.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/pca/pca-010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/quality/quality-003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/volcanoplot/volcanoplot-001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/testthat/_snaps/windows-4.3/volcanoplot/volcanoplot-002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat/test-pca.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ test_that("pca module works as expected in the test app", {
app$set_inputs(!!ns("show_matrix") := TRUE)

app$set_inputs(!!ns2("add-MAE-subjects-var_to_add") := "SEX")
app$wait_for_idle()
app$wait_for_idle(timeout = 40000)
app$set_inputs(!!ns2("active-MAE-subjects-MAE_SEX-inputs-selection") := "M")

# Ensure xvar and yvar get resetted to pc1 and pc2.
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-quality.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ test_that("quality module works as expected in the test app", {
app$wait_for_idle(timeout = 20000)
ns <- module_ns_shiny2(app)


# Check initial state of encodings.
res <- app$get_value(input = ns("experiment-name"))
expect_identical(res, "hd1")
Expand Down Expand Up @@ -67,6 +68,7 @@ test_that("quality module works as expected in the test app", {
# Change to another plot type so that we can choose another assay.
app$set_inputs(!!ns("plot_type") := "Top Genes Plot")
app$set_inputs(!!ns("assay-name") := "cpm")
app$wait_for_idle(timeout = 30000)
app$expect_select_screenshot(ns("plot-plot_out_main"))
app$stop()
})
Expand Down
Loading