Browser Context, Hooks, Steps, Tags. Advanced web automation course. Lesson 13.

preview_player
Показать описание
In this lesson we're:
1. Running multiple browser contexts & pages.
2. Learning useful test Hooks (skip, fail, fixme, only, etc.).
3. Understanding the sequence of before/after Hooks.
4. Tagging smoke tests @smoke.

❓ Questions ➜ Please post them in the comments under this video. I reply to all comments.

👇 Follow Me On Social Media:

⏩ Navigation:
0:00 Lesson Plan
0:57 Browser Contexts - profiles
10:57 Playwright BrowserContext API
13:08 tags @ —grep, —grep-invert
19:48 Test hooks sequence (describe, before, after)
27:43 Hooks - skip, only, fail, fixme, slow, use, timeout,
34:02 use `viewport` for profile or specific test
36:56 Let’s recap + Homework

#automation #javascript #playwright #testing #typescript #selenium #програмування #тестування #тестуванняпз #interview #qa #курсТестування #тестувальник #ІТ #тестуванняПз #безкоштовнийКурс #IT #itjob #it #softwaretesting #programming #itcourses
Рекомендации по теме
Комментарии
Автор

Illarion :) A couple of months ago I was preparing for the interviews for a middle+/senior automation position. Your advanced theory course helped me a lot to remember some things about testing theory that wasn't frequently used in daily tasks but interviewers still like digging deep in it. Anyway, it helped me a lot. My main automation experience was with Python but my new project is going to challenge me with TS Playwright automation from scratch. So here I am again to learn it with you. Thanks a lot for your effort! When someone asks me how to start learning testing - I always mention your channel. You're doing a great job.

oblakaoblaka
Автор

I see yours videos - i make a "handshake"😉

hnbqxxd
Автор

Thank you so much for the lesson 🤩 It is awesome 👍

nikitaantonenko
Автор

Side note:
at 24:00 I am showing the sequence of test hooks execution. This order might differ depending on the “fullyParallel” flag in playwright.config.ts

In my case I have `fullyParallel: false` so it runs: first describe block, tests from first describe block one by one, then second describe block, and tests inside of second describe block one by one.

If `fullyParallel` was to `true` then it would run `describe` and `test` blocks in parallel and the console output would be different.
However, `beforeAll` and `afterAll` hooks always run once per `describe` and `beforeEach`, `afterEach` run before/after each `test`.

IlarionHalushka
Автор

Привет! Когда новые видео с переводом ?!)

mrwryfp
Автор

Привіт, що там із новими відео, будуть?

vasylvonshpyra