Skip to content

Commit

Permalink
Use NotificationShortLookView instead as identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Dec 13, 2024
1 parent 3c0e22f commit 5d048e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebDriverAgentLib/Routing/FBSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ - (XCUIApplication *)activeApplication
@"identifier", @"SBTransientOverlayWindow",
// To look for 'criticalAlertSetting' elements https://developer.apple.com/documentation/usernotifications/unnotificationsettings/criticalalertsetting
// See https://github.com/appium/appium/issues/20835
@"Notification"];
@"NotificationShortLookView"];
if ([FBConfiguration shouldRespectSystemAlerts]
&& [[XCUIApplication.fb_systemApplication descendantsMatchingType:XCUIElementTypeAny]
matchingPredicate:searchPredicate].count > 0) {
Expand Down

0 comments on commit 5d048e3

Please sign in to comment.