App testing cheat sheet
Text elements
Input widgets
Data elements
Layouts and containers
Chat elements
Status elements
Limitations
As of Streamlit 1.28, the following Streamlit features are not natively supported by AppTest. However, workarounds are possible for many of them by inspecting the underlying proto directly using AppTest.get(). We plan to regularly add support for missing elements until all features are supported.
- Chart elements (
st.bar_chart,st.line_chart, etc) - Media elements (
st.image,st.video,st.audio) st.file_uploaderst.data_editorst.expanderst.statusst.camera_inputst.download_buttonst.link_button
Still have questions?
Our forums are full of helpful information and Streamlit experts.
