You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when initializing the web driver we had to use AsyncLocal to initiate the browser this i am doing because when test run in browser its returning same webdriver session id to all scenarios which will do the action in that webdriver session only (Is there anything we can do on reqnroll project to solve this?)
when running in parallel run with this change + AsyncLocal i am able to run scenarios in parallel without any issues but the issue starts at the reporting when i see the report i can see the standard out is not having the proper output such as if i run 4 scenarios and all scenarios got executed then only one scenario have the standard output for all 4 scenarios along with thread Id so i did some changes on
Steps to Reproduce
create project that will initialize the web driver using AsyncLocal
run scenario in parallel
in the report scenario logs are getting mixed with each other
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered:
For issue 1: What is the intended behaviour? A browser session per scenario?
For 2: Does this also happen when you run from console? I can image you're somehow only getting a reference to the outputwriter for the first scenario/test thread. That would mean your dependency resolving/injection is slightly off. Do you have a minimal reproduction somewhere?
its opening A broker session per scenario and execution is getting succeeded with Support for scenario-level parallel execution #277 these changes but the logs are getting mixed for example if i run it in three thread and the thread id is 1,2,3 this is the output i am getting this is one scenario
1 -> scenario 1 step 1 log
1 -> scenario 2 step 1 log
1 -> scenario 3 step 1 log
and other scenarios is not having any logs
this one i tried in visual studio i haven't tried in console
Reqnroll Version
2.1.1
Which test runner are you using?
MSTest
Test Runner Version Number
3.6.0
.NET Implementation
.NET 8.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
No response
Issue Description
Steps to Reproduce
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: