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
{{ message }}
This repository was archived by the owner on May 30, 2023. It is now read-only.
I'm working with PhantomJS 2.0.0, JSCover 1.0.23-SNAPSHOT, XUnit 2.1.0, Selenium.WebDriver 2.48.2 and basic ASP.NET MVC 4 application hosted in IISExpress 10 on Win7 machine.
In contrast to Firefox, when using JSCover through proxy on PhantomJS, no code coverage is collected.
using OpenQA.Selenium;
using OpenQA.Selenium.PhantomJS;
using OpenQA.Selenium.Remote;
var proxy = new Proxy {HttpProxy = "localhost:3128"};
var capabilities = DesiredCapabilities.PhantomJS();
capabilities.SetCapability(CapabilityType.Proxy, proxy);
Driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), capabilities);
Invoke few tests:
Driver.Navigate().GoToUrl("http://localhost:51622/"); // site hosted on IISExpress
Driver.FindElementByXPath(...).Click(); // etc.
ProxyIssue.zip - an archive containing minimalist sample project, for this issue to be quickly reproduced.
To run the sample: open it in Visual Studio 2015, build, and debug through a single unit test defined there (you may need e.g. Chutzpah Test Adapter extension, to be able to see the test in Test Explorer):
In case of possible troubles, you may need to adjust a few paths (to Java, IIS) predefined in Setup.cs file.
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
I'm working with PhantomJS 2.0.0, JSCover 1.0.23-SNAPSHOT, XUnit 2.1.0, Selenium.WebDriver 2.48.2 and basic ASP.NET MVC 4 application hosted in IISExpress 10 on Win7 machine.
In contrast to Firefox, when using JSCover through proxy on PhantomJS, no code coverage is collected.
To reproduce the issue repeat following steps:
Start JSCover with proxy args:
Start PhantomJS:
Setup WebDriver in C#:
Invoke few tests:
Navigate to the results page:
Expect 404 to be returned:
Few more details can be found here: tntim96/JSCover#220.
The text was updated successfully, but these errors were encountered: