Playwright enables reliable end-to-end testing for modern web apps. During this 16-hour instructor-led course you will learn how to test User Interfaces using Mocha and Playwright. The course will be both theoretical and hands-on, to speed up your understanding and experience in automation.
Who should attend
This course is mainly addressed to:
- Automation Testers
- QA Engineers
- QA Architects
- QA Managers
- Software Developers
Prerequisites
- Basic programming knowledge (JavaScript is great advantage)
- NodeJS installed on your computer
- Text editor
What will you learn
During this hands-on course you will learn the following:
- JavaScript –TypeScript Essentials
- Intro to JavaScript and TypeScript
- Basic Types
- Control Flow
- Functions and Classes
- Mocha – Chai Essentials
- Intro to Mocha
- Write our first test
- Assertions with Chai
- Hooks
- Playwright
- Intro to Playwright
- Write our first Playwright script
- Locator strategies
- Playwright API
- Navigating between pages
- Capturing asynchronous data (ie. data that reaches the browser after the page loads)
- Capturing data after React re-renders
- Testing flows (ie. inserting data in one page and validating in another)
- Visual comparisons / Snapshots
- Playwright documentation structure
- Page object model