In this video, we explore the new feature introduced in release 1.40. The test generator has had a massive improvement. Before you could generate your tests and had to manually write your assertions but now you can generate assertions while generating your test.
The feature comes with 3 possible assertions that you can generate, 'toBeVisible', 'toContainText' and 'toHaveValue'. 'toContainText' comes with an editable box so you can modify the value before accepting the assertion. As well as the assertions you can also use the pick locator tool to easily find any locator on the page.
Join us as we delve into this cool new feature with a live demo and helpful explanations. Don't forget to like, comment, and subscribe for more updates!
Release notes:
https://playwright.dev/docs/release-n...
Slides:
https://1drv.ms/p/s!Am30-i0nbZmteD8HS...
0:00 - Welcome & Tip of the Day
01:28 - 🤖 Test Generator updates
08:37 - 🧹 Summary
#playwright #playwrightdev #playwrightweb