Issue 2077: Add sample playwright tests for folium#2127
Issue 2077: Add sample playwright tests for folium#2127hansthen wants to merge 31 commits intopython-visualization:mainfrom
Conversation
ce6081a to
e531057
Compare
|
I am okay with the results for now. Please let me know what you think. |
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
94c1a61 to
bdaa021
Compare
Also created new screenshots due to changing tile images
Removed the tiles, because there was a difference in between github and local. Removed the playwright tests.
for easier comparison
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
codegenutility that can be used to jumpstart creating tests.Let me know what you think of it.