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
SelemaTest -> /home/runner/work/selema/selema/net/SelemaTest/bin/Debug/net8.0/SelemaTest.dll
Test run for /home/runner/work/selema/selema/net/SelemaTest/bin/Debug/net8.0/SelemaTest.dll (.NETCoreApp,Version=v8.0)
VSTest version [17](https://github.com/javiertuya/selema/actions/runs/12079130163/job/33745103820?pr=797#step:11:18).11.1 (x64)
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Failed TestHeadlessWebDriverDefault [389 ms]
Error Message:
Assert.That(actual, Is.EqualTo(expected))
Expected string length 84 but was 36. Strings differ at index 0.
Expected: "{browserName:chrome,goog:chromeOptions:{args:[--headless,--re..."
But was: "OpenQA.Selenium.Chrome.ChromeOptions"
-----------^
Stack Trace:
at NUnit.Framework.Legacy.ClassicAssert.AreEqual(Object expected, Object actual)
at Test4giis.Selema.Core.TestDriver.AssertOptions(SeleniumDriverFactory factory, String expected) in /home/runner/work/selema/selema/net/SelemaTest/Translated/Test4giis.Selema.Core/TestDriver.cs:line [18](https://github.com/javiertuya/selema/actions/runs/12079130163/job/33745103820?pr=797#step:11:19)0
at Test4giis.Selema.Core.TestDriver.TestHeadlessWebDriverDefault() in /home/runner/work/selema/selema/net/SelemaTest/Translated/Test4giis.Selema.Core/TestDriver.cs:line 101
The text was updated successfully, but these errors were encountered:
The custom ToString method in DriverOptions has been removed in v4.27.0 (net): SeleniumHQ/selenium#14736.
A similar method has to be added to the tests (or compare the object content)
Implemented in 3d8f4f7: As many attributes in the DriverOptions object, the custom ToString generates includes only the browser name and the arguments (only for chromium)
Several tests in
TestDriver
fail, e.g.The text was updated successfully, but these errors were encountered: