forked from hideokamoto/stripe-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Financial Connections: end-to-end test polish to handle bank maintena…
…nce periods (stripe#2854) ## Summary Two things: 1. Did some small polishes of end to end tests. For example, starting iOS 16.4, the switch/toggles were not turning on/off. 2. I added support for banks that are down due to maintenance periods. Before this support/fix, we could get end-to-end test failures. | Down Example 1 | Down Example 2 | | --- | --- | | <img width="178" alt="Screenshot 2023-08-15 at 1 37 17 PM" src="https://github.com/stripe/stripe-ios/assets/105514761/04a366c2-47ea-414c-a406-d543a2530a97"> | <img width="117" alt="Screenshot 2023-08-15 at 1 38 23 PM" src="https://github.com/stripe/stripe-ios/assets/105514761/e557f93c-c2f7-4d66-849b-a3a0767233ef"> | ## Testing **Note that all this code is just testing code. No core code is modified, so its safe.** I did all sorts of manual testing to handle down bank screen. Below I ran `bitrise run financial-connections-stability-tests` to verify that all tests pass: ``` Test Suite FinancialConnectionsUITests.xctest started FinancialConnectionsNetworkingUITests ✓ testNativeNetworkingTestMode (95.465 seconds) FinancialConnectionsUITests ✓ testDataLiveModeOAuthNativeAuthFlow (35.275 seconds) ✓ testDataLiveModeOAuthWebAuthFlow (29.325 seconds) ✓ testDataTestModeOAuthNativeAuthFlow (24.777 seconds) ✓ testPaymentTestModeLegacyNativeAuthFlow (26.048 seconds) ✓ testPaymentTestModeManualEntryNativeAuthFlow (29.168 seconds) ✓ testSearchInLiveModeNativeAuthFlow (27.401 seconds) ```
- Loading branch information
1 parent
803c901
commit dbe4cd4
Showing
5 changed files
with
155 additions
and
104 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
Oops, something went wrong.