gradio/js/app/test/tests.md
pngwn 1419538ea7
Refactor component directories (#5074)
* asd

* changes

* fix everything

* cleanup

* add changeset

* fix casing

* lockfile

* fix casing

* fix ci, enable linting

* fix test

* add changeset

* add changeset

* delete changeset

* fix dirs

* fix casing

* fix notebooks

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 23:01:18 +01:00

187 lines
8.9 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Test Coverage
Just a little reference docs to understand what is tested/ needs testing. Perhaps temporary until we are in a better place.
## Interface
## Flagging
## Blocks
## Block Layouts
## Themes
## Components
### Props/kwargs
| Component | `value` | `visible` | `elem_id` | `elem_classes` | `container` | `label` | `show_label` |
| --------------- | ------- | --------- | --------- | -------------- | ----------- | ------- | ------------ | --- |
| AnnotatedImage | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Audio | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| BarPlot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Button | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Chatbot | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Checkbox | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| CheckboxGroup | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| ClearButton | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Code | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| ColorPicker | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Dataframe | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Dropdown | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| File | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Gallery | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| HTML | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| HighlightedText | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Image | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |   |
| JSON | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Label | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Lineplot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Markdown | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Model3D | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Number | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Plot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Radio | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| ScatterPlot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Slider | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Textbox | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Timeseries | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| UploadButton | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
| Video | `❌` | `✅` | `✅` | `✅` | `❌` | `✅` | `❌` |
### Events
| Component | `value` | `visible` | `elem_id` | `elem_classes` | `container` | `label` | `show_label` |
| --------------- | ------- | --------- | --------- | -------------- | ----------- | ------- | ------------ | --- |
| AnnotatedImage | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Audio | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| BarPlot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Button | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Chatbot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Checkbox | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| CheckboxGroup | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| ClearButton | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Code | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| ColorPicker | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Dataframe | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Dataset | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Dropdown | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| File | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Gallery | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| HTML | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| HighlightedText | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Image | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |   |
| Interpretation | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| JSON | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Label | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Lineplot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Markdown | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Model3D | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Number | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Plot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Radio | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| ScatterPlot | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Slider | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| State | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Textbox | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Timeseries | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| UploadButton | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
| Video | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` | `❌` |
### `AnnotatedImage`
### `Audio`
### `BarPlot`
### `Button`
### `Chatbot`
### `Checkbox`
### `CheckboxGroup`
### `ClearButton`
### `Code`
### `ColorPicker`
### `Dataframe`
### `Dataset`
### `Dropdown`
### `File`
### `Gallery`
### `HTML`
### `HighlightedText`
### `Image`
### `Interpretation`
### `JSON`
### `Label`
### `Lineplot`
### `Markdown`
### `Model3D`
### `Number`
### `Plot`
### `Radio`
### `ScatterPlot`
### `Slider`
### `State`
### `Textbox`
### `Timeseries`
### `UploadButton`
### `Video`
## Helpers
### Error
### load
### Examples
### Progress
### update
### make_waveform
### EventData
## Routes
### `Request`
### `mount_gradio_app`
## Clients
### Python (`gradio_client`)
### JavaScript (`@gradio/client`)