File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WooCommerce/WooCommerceTests/Authentication/Store Creation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,8 @@ final class StoreCreationCoordinatorTests: XCTestCase {
156156 func test_InProgressViewController_is_first_presented_when_fetching_iap_products( ) throws {
157157 // Given
158158 let featureFlagService = MockFeatureFlagService ( isStoreCreationM2Enabled: true )
159- let purchasesManager = MockInAppPurchases ( fetchProductsDuration: 10 )
159+ // 6 seconds = 6_000_000_000 nanoseconds.
160+ let purchasesManager = MockInAppPurchases ( fetchProductsDuration: 6_000_000_000 )
160161 let coordinator = StoreCreationCoordinator ( source: . storePicker,
161162 navigationController: navigationController,
162163 featureFlagService: featureFlagService,
@@ -167,8 +168,7 @@ final class StoreCreationCoordinatorTests: XCTestCase {
167168
168169 // Then
169170 waitUntil ( timeout: 5 ) {
170- print ( " [Debug for flaky test] \( String ( describing: self . navigationController. presentedViewController) ) " )
171- return self . navigationController. presentedViewController is InProgressViewController
171+ self . navigationController. presentedViewController is InProgressViewController
172172 }
173173 }
174174
You can’t perform that action at this time.
0 commit comments