Beyond Code Coverage: Functionality Testing with Playwright — Marlene Mhangami, Microsoft

AI Engineer · Intermediate ·🧠 Large Language Models ·1mo ago

Key Takeaways

Demonstrates functionality testing with Playwright and LLMs

Original Description

When an LLM writes your tests, it tends to write tests that confirm what the code does rather than tests that verify what the user experiences. Your test suite goes green. The app still breaks in ways none of those tests would catch. Marlene Mhangami from Microsoft makes the case for flipping the order: get the agent to write failing Playwright tests against the expected behavior first, then generate code to pass them. The demo runs this live with GitHub Copilot and the Playwright MCP server on a toy store search feature, with the browser open so you can watch the agent click through filters and validate results in real time. Speaker info: - https://x.com/marlene_zw - https://www.linkedin.com/in/marlenemhangami/ - https://github.com/marlenemhangami
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
I tried to own my AI instead of renting it I gave up at the 340-gigabyte mark.
Learn from one developer's attempt to self-host a large language model, highlighting the challenges of owning AI infrastructure
Medium · Programming
📰
Best Local LLMs in 2026: Which AI Models Can You Run Offline?
Learn about the best local LLMs in 2026 and how to run AI models offline, enabling privacy-focused experiences
Dev.to · Techinfort
📰
7 Best Local LLMs for Coding in 2026 (Honest Comparison)
Learn about the 7 best local LLMs for coding in 2026 and how to choose the right one for your needs
Medium · Machine Learning
📰
GPT-5.6 Sol matches Claude Fable 5 intelligence at one third the cost
Learn how GPT-5.6 Sol matches Claude Fable 5 intelligence at a lower cost and understand the implications for AI development
Dev.to · Andrew Kew
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →