Playwright C# - Hooks Explained

  Рет қаралды 1,543

CommitQuality

CommitQuality

Күн бұрын

Пікірлер: 7
@TheAnonJohn
@TheAnonJohn 3 ай бұрын
great content , thanks
@CommitQuality
@CommitQuality 3 ай бұрын
Glad you liked it!
@TheAnonJohn
@TheAnonJohn 3 ай бұрын
@@CommitQuality by the way, there isn't a comprehensive course on udemy for playwright with C# using visual studio 2022. You could change that :) . You could also add Specflow ...
@etexas
@etexas Жыл бұрын
Does this mean that playwright tests always happen one after another and never two or more tests in parallel? If you're running stateful (create, update, delete) tests against the same resource (same website with same database) couldn't you technically have race conditions if you're checking things like count lines, add one, count lines, assert new count is one more than previous?
@CommitQuality
@CommitQuality Жыл бұрын
By default tests will run in parallel, if they are within separate files, however tests in the same file will run sequentially. You have raised a really good concern and this is where you need to use some organisation and structure to not make flaky tests. I hit the same problem you described on a work project not so long ago
@CommitQuality
@CommitQuality Жыл бұрын
playwright.dev/dotnet/docs/test-runners#running-nunit-tests-in-parallel ^^ here's a portion of the docs that will help confirm the above too.
@karthickk3562
@karthickk3562 10 ай бұрын
Can this be used if I use specflow like, [BeforeScenario] to initialize trace and on [AfterScenario] cleanup trace ?
How to handle random popups with Playwright .NET C#
7:12
CommitQuality
Рет қаралды 861
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Cypress and Playwright: A Comparison
1:09:14
Rainer Hahnekamp
Рет қаралды 8 М.
Playwright hooks
9:39
CommitQuality
Рет қаралды 3,8 М.
2019 NAPA NapaBasic C# Architecture review
1:27:22
Robert Brotherus
Рет қаралды 32
6 C# keywords you (probably) never had to use
17:33
Nick Chapsas
Рет қаралды 69 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 303 М.
Page Object Model in Playwright C#
16:04
CommitQuality
Рет қаралды 1 М.
Angular 17 - New Build-In Control Flow Overview 🚀
14:02
Decoded Frontend
Рет қаралды 37 М.
Component Testing in Playwright - A complete guide from Basic to Advanced
18:48
Playwright with Javascript tutorial 23 | Hooks | BeforeAll | BeforeEach | AfterAll | AfterEach
17:01
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН