@@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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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.
@karthickk356210 ай бұрын
Can this be used if I use specflow like, [BeforeScenario] to initialize trace and on [AfterScenario] cleanup trace ?