ClickHouse / ClickHouse/click-ui
Make DatePicker testable
Open
- Dominant language
- TypeScript
- Stars
- 135
- Forks
- 33
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 19
Description
Currently DatePicker component is not intractable in tests without having access to the DatePicker component.
These are the features missing in DatePicker in order to make it testable:
1. Pass props through, i.e set `data-testid` to the DatePicker component
2. Add ability to fill in a date value to the component - something like
```
await helper.page.getByTestId('datepicker-input').fill(date)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.