Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22465

Talk Python to Me: #368: End-to-End Web Testing with Playwright

$
0
0
How do you test whether your web sites are working well? Unit tests are great. But for web apps, the number of pieces that have to click together "just so" are many. You have databases, server code (such as a Flask app), server templates (Jinja for example), CSS, Javascript, and even deployment topologies (think nginx + uvicorn). Unit tests won't cover all of that integration. But Playwright does. Playwright is a modern, Pythonic take on testing webs apps using code driving a browser core to interact with web apps the way real users and API clients do. I think you'll find a lot to like there. And we have Pandy Knight from Automation Panda here to break it down for us.<br/> <br/> <strong>Links from the show</strong><br/> <br/> <div><b>Pandy's Twitter</b>: <a href="https://twitter.com/AutomationPanda" target="_blank" rel="noopener">@AutomationPanda</a><br/> <b>Pandy's blog</b>: <a href="https://automationpanda.com/" target="_blank" rel="noopener">automationpanda.com</a><br/> <b>Playwright</b>: <a href="https://playwright.dev/python/" target="_blank" rel="noopener">playwright.dev</a><br/> <b>Pandy's Playwright tutorial</b>: <a href="https://github.com/AutomationPanda/playwright-python-tutorial" target="_blank" rel="noopener">github.com</a><br/> <b>pytest</b>: <a href="https://docs.pytest.org/" target="_blank" rel="noopener">pytest.org</a><br/> <b>applitools</b>: <a href="https://applitools.com" target="_blank" rel="noopener">applitools.com</a><br/> <b>Screenplay package</b>: <a href="https://pypi.org/project/screenplay/" target="_blank" rel="noopener">pypi.org/project/screenplay</a><br/> <b>Watch this episode on YouTube</b>: <a href="https://www.youtube.com/watch?v=plcaFad5r_g" target="_blank" rel="noopener">youtube.com</a><br/> <b>Episode transcripts</b>: <a href="https://talkpython.fm/episodes/transcript/368/end-to-end-web-testing-with-playwright" target="_blank" rel="noopener">talkpython.fm</a><br/> <br/> <b>--- Stay in touch with us ---</b><br/> <b>Subscribe to us on YouTube</b>: <a href="https://talkpython.fm/youtube" target="_blank" rel="noopener">youtube.com</a><br/> <b>Follow Talk Python on Twitter</b>: <a href="https://twitter.com/talkpython" target="_blank" rel="noopener">@talkpython</a><br/> <b>Follow Michael on Twitter</b>: <a href="https://twitter.com/mkennedy" target="_blank" rel="noopener">@mkennedy</a><br/></div><br/> <strong>Sponsors</strong><br/> <a href='https://talkpython.fm/foundershub'>Microsoft</a><br> <a href='https://talkpython.fm/compiler'>RedHat</a><br> <a href='https://talkpython.fm/assemblyai'>AssemblyAI</a><br> <a href='https://talkpython.fm/training'>Talk Python Training</a>

Viewing all articles
Browse latest Browse all 22465

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>