Playwright Tutorial | Playwright configuration file playwright.config.ts

preview_player
Показать описание
#playwright #typescript #javascript #with #configuration #parallel #retries #timeout #headless #tutorial #automation #testing #coding #selenium #cypress
playwright, playwright tutorial, playwright testing, playwright config, playwright configuration

=================================================================================

Chapters
01:40 - Config file basic Structure
04:08 - testDir Option
08:21 - fullyParallel Option
10:04 - forbidObly Option
17:06 - retries Option
22:40 - workers Option in Playwright
24:57 - reporter Option in Playwright
29:15 - Timeout Options in Playwright
32:20 - expect Timeout Option in Playwright
35:21 - use Option in Playwright
39:30 - projects Option in Playwright
47:14 - headless Option in Playwright
51:53 - Test execution with different workers option
53:52 - Recap

=================================================================================

=================================================================================

Playwright has many options to configure how your tests are run. You can specify these options in the configuration file.
Below are some options.

testDir
fullyParallel
forbidOnly
retries
workers
reporter
Timeout
expect with {timeout}
use with {trace, headless}
Projects with name and use
headless

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

You explain every point in step by step Thanks for sharing❤

vishalsinghgurjar
Автор

Thank you for clear explanation bro. Really helpful

madhubn
Автор

Trace folder not created for me after making trace = 'on' in config file and after running

madhubn
Автор

How we can report slow test in console, When we have set fullyPrallel as true ?

yashthaman
join shbcf.ru