You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The package is working but when trying to run a shinytest that involves using filters on the right hand side panel there is an issue:
Example with the pca.app in test/testthat/test-pca.R:
app <- AppDriver$new(
app_dir = test_path("pca"),
name = "pca",
variant = platform_variant(),
load_timeout = 300000,
seed = default_app_seed
)
ns2 <- NS("teal-main_ui-filter_panel")
app$set_inputs(!!ns2("add-MAE-hd1-row_to_add") := "chromosome_name")
Error received while setting inputs: Unable to find input binding for element with id teal-main_ui-filter_panel-add-MAE-hd1-row_to_add
▆
1. └─app$set_inputs(`:=`(!!ns2("add-MAE-hd1-row_to_add"), "chromosome_name"))
2. └─shinytest2:::app_set_inputs(...)
I tried to interact with the filtering panes with:
(I used shinytest2::record_test() to figure out the names of the namespace) but the selection is not updated. It feels like I am missing one step to validate the selection.
If the purpose of this line is to remove the selection, then we have to click the x button on the filter card and the namespace for this is teal-teal_modules-pca-filter_panel-filters-MAE-hd1-MAE_chromosome_hd1_subset-remove.
You can do app$view() to see the state of the browser and look around to find the correct namespace.
Please make sure you're using teal on main version.
What happened?
The package is working but when trying to run a shinytest that involves using filters on the right hand side panel there is an issue:
Example with the
pca.app
intest/testthat/test-pca.R
:I tried to interact with the filtering panes with:
(I used
shinytest2::record_test()
to figure out the names of the namespace) but the selection is not updated. It feels like I am missing one step to validate the selection.any idea @donyunardi @Dawid ?
sessionInfo()
No response
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy
The text was updated successfully, but these errors were encountered: