Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

Fix testIconsFromSearchDashboard integration test #883

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#import "FBIntegrationTestCase.h"
#import "FBSpringboardApplication.h"
#import "FBTestMacros.h"
#import "FBXCodeCompatibility.h"
#import "XCUIElement+FBIsVisible.h"

@interface FBElementVisibilityTests : FBIntegrationTestCase
Expand Down Expand Up @@ -51,7 +52,9 @@ - (void)testIconsFromSearchDashboard
[self launchApplication];
[self goToSpringBoardDashboard];
XCTAssertFalse(self.springboard.icons[@"Reminders"].fb_isVisible);
XCTAssertFalse(self.springboard.icons[@"IntegrationApp"].fb_isVisible);
XCTAssertFalse([[[self.springboard descendantsMatchingType:XCUIElementTypeIcon]
matchingIdentifier:@"IntegrationApp"]
fb_firstMatch].fb_isVisible);
}

- (void)testTableViewCells
Expand Down