formulahendry / vscode-dotnet-test-explorer

.NET Core Test Explorer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.dotnet-test-explorer
MIT License
204 stars 97 forks source link

Progress indicator on the test tree keeps spinning forever with Selenium Chrome WebDriver #356

Open tarekahf opened 2 years ago

tarekahf commented 2 years ago

Only when using Selenium WebDrive and if the Chrome is opened as per the following code:

IWebDriver driver;
driver = new ChromeDriver();

then, the progress indicator on the test tree will keep on spinning forever. If I don't open Chrome by commenting out the new ChromeDriver(), it works fine.

Following are the required details:

  1. Dotnet sdk version: .NET 5.0
  2. Unit test framework: NUnit 3.13.1
  3. The link to the repo with the issue: https://github.com/tarekahf/NUnit-Selenium
  4. Selenium WebDriver: 4.1.0
  5. .NET Core Test Explorer v0.7.7

See the snapshot below.

Please help to resolve this issue.

Tarek

NUnit test keeps spinning

RamakrishnanRajaram commented 1 year ago

I am facing this same issue. Is there a workaround for this?

Required Details: Dotnet sdk version: .NET 6.0 Unit test framework: NUnit 3.13.3 Selenium WebDriver: 3.141.0 .NET Core Test Explorer v0.7.8

tarekahf commented 1 year ago

Check the solution here:

https://stackoverflow.com/questions/71507345/net-test-explorer-tree-keeps-spinning-forever-with-selenium-chrome-webdriver