End-to-End Web Testing with Playwright
Episode #368,
published Fri, Jun 3, 2022, recorded Thu, May 12, 2022
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.
Links from the show
Links from the show
Pandy's Twitter: @AutomationPanda
Pandy's blog: automationpanda.com
Playwright: playwright.dev
Pandy's Playwright tutorial: github.com
pytest: pytest.org
applitools: applitools.com
Screenplay package: pypi.org/project/screenplay
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy
Pandy's blog: automationpanda.com
Playwright: playwright.dev
Pandy's Playwright tutorial: github.com
pytest: pytest.org
applitools: applitools.com
Screenplay package: pypi.org/project/screenplay
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy