Playwright Recordings with Python in Pytest

preview_player
Показать описание
In this video Andrew walks through how to set up Pytest Fixtures for Playwright to record videos of your test. The example will show how to rename the tests, how to delete successful tests and generally how the Playwright Pytests fixtures work.

Design Patterns: Elements of Reusable Object-Oriented Software - Possibly the oldest books on the list but the most important. You see these patterns everywhere in code. If you haven't seen them before this will greatly help your career.

Code Complete - The best book on software craftmanship. It is language agnostic.

Phoenix Project - This books is about your company and everything that has ever gone wrong. If your company isn't perfect you can probably learn how to start correcting it here.

Clean Architecture - Get your Architecture Here. Uncle Bob is great.

Start With Why - A management book but it is so much more than that. As soon as you get the point it will affect anything you do in business or with other people. A true must read.

**Disclaimer: Lethcode is a participant in the Amazon Services LLC Associates Program, a small percentage of any sales with the above link will go back to this channel.

0:00 Intro
0:46 Setting up Pytest in VS Code
2:28 Recording Video With Playwright
3:02 Fixtures in Pytest
7:00 Cleaning Up Previous Runs
8:43 Renaming the Recording
12:57 Getting Rid of Successful Tests
13:46 Recap

Get 2 FREE Audio Books from Audible

My Favorite Books on Coding, Devops, and Leadership

Gear Used
Intel Core i5-10600KF - 8GB Memory - NVIDIA GeForce GTX 1660 SUPER - 1TB HDD + 240GB SSD

Davinci Resolve - Editing
StreamLabs OBS - Screen Capture

Рекомендации по теме
Комментарии
Автор

Is it possible to use Session fixture (Login) for example and record video tests. Cause i receive an error and don't have an ideas how to make it?

ophhpnc
Автор

Awesome video! Is this solution exclusive to using Playwright?

kevinlao