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 Input testing #342

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

airDatePicker Input testing #342

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 from shinywidget library. I would like to interact with the picker via shinytest2 to set the dates.
Unfortunately, the recorder method 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 to interact with shinywidgets or with airDatePicker in particular?

@sybrohee sybrohee changed the title airDatePickerInput testing airDatePicker Input testing Aug 4, 2023
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