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); }