Open mpalmer23 opened 4 months ago
To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.
Your vote helps us identify which enhancements matter most to our users.
As a workaround, I think you should be able to do something like at.get("imgs")
or at.get("download_button")
As a workaround, I think you should be able to do something like
at.get("imgs")
orat.get("download_button")
Thanks for the suggestion. This works and helps us set up some basic checks.
Would still be good to eventually be able to use AppTest's more advanced interaction-simulation at some point.
As a workaround, I think you should be able to do something like
at.get("imgs")
orat.get("download_button")
Is it possible to click the download button and receive the file from at.get("download_button")
?
Checklist
Summary
Requesting st.image and st.download_button to be added to AppTest
Why?
Images and download buttons are key features of our streamlit app, and we'd like to use AppTest to write automated tests for these widgets.
How?
New properties within AppTest class for getting sequences of all st.image and st.download_button widgets.
Additional Context
No response