airDatePicker Input testing
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 123
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the shown app$set_inputs call and the app-cnvminmax input. Start by comparing shinytest2's set_inputs behavior with the airDatePicker widget, including whether real JavaScript interaction is required. Done means the date picker values update to the requested date range.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, r
- Domain
- frontend, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100