Open BFalquet opened 1 month ago
@BFalquet no idea whatsoever... But I have a pic of cute cat - hope that helps!
tagging @m7pr who is closer to the implementation of shinytest2 in our packages.
@m7pr could you please assess this?
Hi @BFalquet
We made some changes to the UI recently so we just need to adjust these tests.
app$set_inputs(
teal-teal_modules-pca-filter_panel-filters-MAE-MAE-hd1-row_to_add
= "chromosome")
Yes, this is the correct namespace to select chromosome
as the drop down value for hd1 in the filter panel.
app$set_inputs(
teal-teal_modules-pca-filter_panel-filters-MAE-hd1-MAE_chromosome_hd1_subset-inputs-selection
= character(0))
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
.
app$click("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