From f9fc33ff543d2f94f1821553d8961007213a43c9 Mon Sep 17 00:00:00 2001 From: Tig Date: Sun, 7 Jul 2024 09:34:40 -0600 Subject: [PATCH] Fixed error --- UnitTests/TestHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTests/TestHelpers.cs b/UnitTests/TestHelpers.cs index 22819e701..02af3b000 100644 --- a/UnitTests/TestHelpers.cs +++ b/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)) {