- Notifications
You must be signed in to change notification settings - Fork2.2k
Issue 2077: Add sample playwright tests for folium#2127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ce6081a
toe531057
CompareI am okay with the results for now. Please let me know what you think. |
ocefpaf commentedApr 22, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I don't know what |
No problem. Playwright is a UI testing framework that is also used by the streamlit-folium people. It feels a lot like selenium, but with less baggage. I will make this PR a draft for now and focus first on getting the regressions to work. |
Cool! I'll watch this closely to learn something new. |
Thank you for your help! Half a dozen issues closed in a single day. I will prepare a release soon. |
First try: just do the draw plugin.
Instead do dynamic import as a workaround
Also created new screenshots due to changing tile images
Removed the tiles, because there was a difference in betweengithub and local.Removed the playwright tests.
for easier comparison
Uh oh!
There was an error while loading.Please reload this page.
Gentlemen, I created a sample test using playwright and streamlit. This is not a full test suite, but more of a demonstration how we can use Playwright to test our example apps. I have used Playwright for a few other projects and I like how it works. It also comes with a nice
codegen
utility that can be used to jumpstart creating tests.Let me know what you think of it.