Completed
Playwright Test provides a test function to declare tests and expect function to write assertions
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Playwright Beginner Tutorial - How to Write Your First Test
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Step 1 - Create a new file under test folder
- 3 Step 2 - Add module ‘playwright/test’
- 4 Example how to add and import modules
- 5 Playwright Test provides a test function to declare tests and expect function to write assertions
- 6 Step 3 - Create a test block - testtitle, testFunction
- 7
- 8 Screenshot moment