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

airDatePicker testing with shinytest2 #622

Open
sybrohee opened this issue Aug 4, 2023 · 0 comments
Open

airDatePicker testing with shinytest2 #622

sybrohee opened this issue Aug 4, 2023 · 0 comments

Comments

@sybrohee
Copy link

sybrohee commented Aug 4, 2023

Hello,

In my app, I have a airDatePicker. I would like to interact with the picker via shinytest2 to set the dates.
Unfortunately, the recorder method of shinytest2 uses "set_inputs" and it does not seem to change the values within the date picker.

app$set_window_size(width = 1619, height = 891)
# Update output value
app$set_inputs(`app-cnvminmax` = c("2022-12-01T00:00:00+02:00", "2022-12-08T00:00:00+02:00"))

I think I would have to interact with it with real javascript. Has anyone already tried the interactions between between shinywidgets or airDatePicker and shinytest2?

Thanks for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant