From 4ba58bdee5dbeb5a634f4a25d177864d18338f90 Mon Sep 17 00:00:00 2001 From: Sawan Garg Date: Mon, 11 Nov 2024 16:30:34 +0530 Subject: [PATCH] added backward compatibility in test cases as well --- .../IntegrationTests/XCUIApplicationHelperTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m b/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m index 27ae98e7a..794be2192 100644 --- a/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m +++ b/WebDriverAgentTests/IntegrationTests/XCUIApplicationHelperTests.m @@ -40,7 +40,7 @@ - (void)testQueringSpringboard - (void)testApplicationTree { - XCTAssertNotNil([self.testedApplication fb_tree:nil]); + XCTAssertNotNil(self.testedApplication.fb_tree); XCTAssertNotNil(self.testedApplication.fb_accessibilityTree); }