snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.99.1 vs snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.100.0
- old
+ new
@@ -255,11 +255,11 @@
return self.containing(isNetworkLoadingIndicator)
}
var deviceStatusBars: XCUIElementQuery {
- let deviceWidth = XCUIApplication().frame.width
+ let deviceWidth = XCUIApplication().windows.firstMatch.frame.width
let isStatusBar = NSPredicate { (evaluatedObject, _) in
guard let element = evaluatedObject as? XCUIElementAttributes else { return false }
return element.isStatusBar(deviceWidth)
@@ -275,6 +275,6 @@
}
}
// Please don't remove the lines below
// They are used to detect outdated configuration files
-// SnapshotHelperVersion [1.10]
+// SnapshotHelperVersion [1.11]