🎓 Enroll in SDET with Playwright course here: https://www.bondaracademy.com/course/...
In this lesson, you will learn how to use test hooks in Playwright, such as beforeAll and afterAll hooks, and beforeEach and afterEach hooks.
Chapters:
00:00 Introduction
00:24 Scenario to automate
01:20 BeforeEach hook
02:08 BeforeAll hook
02:52 AfterEach hook
04:06 Refactoring
06:30 Lesson summary
More at Bondar Academy:
🎓 Bondar Academy Home Page: https://www.bondaracademy.com
🎓 JavaScript Fundamentals FREE class: https://www.bondaracademy.com/course/...
🎓 Bondar Academy Blog: https://www.bondaracademy.com/blog
What is inside Bondar Academy?
Bondar Academy is a platform for efficient education, designed to boost your technical skills and advance your career in Quality Assurance (QA). Our program features a balanced mix of pre-recorded lectures and live sessions, allowing each student to study at their own pace and at a time that suits them.
Our instructors are readily available on our Slack Workspace for support. Whether it's a quick question or a more complex issue requiring a Zoom call or Slack Huddle for screen sharing and live discussion, we're here to assist. Additionally, each class comes with a comprehensive question bank for self-assessment. Following each lecture, you have the opportunity to validate your understanding and readiness to progress to the next topic. You set the pace, and we provide the solutions to ensure you achieve your desired outcomes.