generated from bitwarden/template
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PM-11213] Update to Xcode 16.1 and iOS 18.1 (#1070)
- Loading branch information
1 parent
f588bd5
commit e2fd662
Showing
22 changed files
with
82 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18.0 | ||
18.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
15.4 | ||
16.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
@MainActor | ||
func test_accountRow_longPress_currentAccount() throws { | ||
let accountRow = try subject.inspect().find(button: "[email protected]") | ||
try accountRow.labelView().callOnLongPressGesture() | ||
try accountRow.labelView().recursiveCallOnLongPressGesture() | ||
let currentAccount = processor.state.activeAccountProfile! | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
|
@@ -54,14 +54,14 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
func test_accountRow_longPress_currentAccount_noLockOrLogout() throws { | ||
processor.state.allowLockAndLogout = false | ||
let accountRow = try subject.inspect().find(button: "[email protected]") | ||
XCTAssertThrowsError(try accountRow.labelView().callOnLongPressGesture()) | ||
XCTAssertThrowsError(try accountRow.labelView().recursiveCallOnLongPressGesture()) | ||
} | ||
|
||
/// Tapping a profile row dispatches the `.accountPressed` action. | ||
@MainActor | ||
func test_accountRow_tap_currentAccount() throws { | ||
let accountRow = try subject.inspect().find(button: "[email protected]") | ||
try accountRow.labelView().callOnTapGesture() | ||
try accountRow.labelView().recursiveCallOnTapGesture() | ||
let currentAccount = processor.state.activeAccountProfile! | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
|
@@ -96,7 +96,7 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
isVisible: true | ||
) | ||
let alternateRow = try subject.inspect().find(button: "[email protected]") | ||
try alternateRow.labelView().callOnLongPressGesture() | ||
try alternateRow.labelView().recursiveCallOnLongPressGesture() | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
XCTAssertEqual(processor.effects.last, .accountLongPressed(alternate)) | ||
|
@@ -121,7 +121,7 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
) | ||
let alternateRow = try subject.inspect().find(button: "[email protected]") | ||
_ = try subject.inspect().find(button: "[email protected]") | ||
XCTAssertThrowsError(try alternateRow.labelView().callOnLongPressGesture()) | ||
XCTAssertThrowsError(try alternateRow.labelView().recursiveCallOnLongPressGesture()) | ||
} | ||
|
||
/// Tapping an alternative profile row dispatches the `.accountPressed` action. | ||
|
@@ -142,7 +142,7 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
isVisible: true | ||
) | ||
let addAccountRow = try subject.inspect().find(button: "[email protected]") | ||
try addAccountRow.labelView().callOnTapGesture() | ||
try addAccountRow.labelView().recursiveCallOnTapGesture() | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
XCTAssertEqual(processor.effects.last, .accountPressed(alternate)) | ||
|
@@ -169,7 +169,7 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
isVisible: true | ||
) | ||
let addAccountRow = try subject.inspect().find(button: "") | ||
try addAccountRow.labelView().callOnTapGesture() | ||
try addAccountRow.labelView().recursiveCallOnTapGesture() | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
XCTAssertEqual(processor.effects.last, .accountPressed(secondAlternate)) | ||
|
@@ -179,7 +179,7 @@ class ProfileSwitcherViewTests: BitwardenTestCase { // swiftlint:disable:this ty | |
@MainActor | ||
func test_background_tap() throws { | ||
let view = try subject.inspect().view(ProfileSwitcherView.self) | ||
let background = view.first | ||
let background = try view.implicitAnyView().first | ||
try background?.callOnTapGesture() | ||
|
||
XCTAssertEqual(processor.dispatchedActions.last, .backgroundPressed) | ||
|
Binary file modified
BIN
+10.5 KB
(120%)
...ollerExtensionsTests/test_snapshot_tabBarItems_generatorSelected_darkMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.36 KB
(110%)
...llerExtensionsTests/test_snapshot_tabBarItems_generatorSelected_lightMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10.5 KB
(120%)
...ControllerExtensionsTests/test_snapshot_tabBarItems_sendSelected_darkMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.37 KB
(110%)
...ontrollerExtensionsTests/test_snapshot_tabBarItems_sendSelected_lightMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10.6 KB
(120%)
...rollerExtensionsTests/test_snapshot_tabBarItems_settingsSelected_darkMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.42 KB
(110%)
...ollerExtensionsTests/test_snapshot_tabBarItems_settingsSelected_lightMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10.5 KB
(120%)
...ontrollerExtensionsTests/test_snapshot_tabBarItems_vaultSelected_darkMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4.33 KB
(110%)
...ntrollerExtensionsTests/test_snapshot_tabBarItems_vaultSelected_lightMode.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ class VaultListViewTests: BitwardenTestCase { // swiftlint:disable:this type_bod | |
processor.state.profileSwitcherState.isVisible = true | ||
let accountRow = try subject.inspect().find(button: "[email protected]") | ||
let currentAccount = processor.state.profileSwitcherState.activeAccountProfile! | ||
try accountRow.labelView().callOnLongPressGesture() | ||
try accountRow.labelView().recursiveCallOnLongPressGesture() | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
XCTAssertEqual(processor.effects.last, .profileSwitcher(.accountLongPressed(currentAccount))) | ||
|
@@ -94,7 +94,7 @@ class VaultListViewTests: BitwardenTestCase { // swiftlint:disable:this type_bod | |
processor.state.profileSwitcherState.isVisible = true | ||
let accountRow = try subject.inspect().find(button: "[email protected]") | ||
let currentAccount = processor.state.profileSwitcherState.activeAccountProfile! | ||
try accountRow.labelView().callOnTapGesture() | ||
try accountRow.labelView().recursiveCallOnTapGesture() | ||
waitFor(!processor.effects.isEmpty) | ||
|
||
XCTAssertEqual(processor.effects.last, .profileSwitcher(.accountPressed(currentAccount))) | ||
|
Binary file modified
BIN
-401 Bytes
(100%)
...ist/__Snapshots__/VaultListViewTests/test_snapshot_vaultListView_previews.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters