Browse Source

Fixed error

Tig 1 year ago
parent
commit
f9fc33ff54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UnitTests/TestHelpers.cs

+ 1 - 1
UnitTests/TestHelpers.cs

@@ -280,7 +280,7 @@ internal partial class TestHelpers
     )
     {
 #pragma warning restore xUnit1013 // Public method should be marked as test
-        var actualLook = Application.ToString (driver);
+        var actualLook = Application.ToString (driver ?? Application.Driver);
 
         if (string.Equals (expectedLook, actualLook))
         {