Skip to content

chore: SPM unit tests #2170

chore: SPM unit tests

chore: SPM unit tests #2170

Triggered via pull request April 19, 2024 21:05
Status Failure
Total duration 11m 11s
Billable time 20m
Artifacts

build_test_upload.yml

on: pull_request
Build and upload app to Appetize
0s
Build and upload app to Appetize
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 20 warnings
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L462
test_native_ui_manager_with_auto_payment_handling_and_no_surcharge, Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Successful HUC initialization".
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L414
test_native_ui_manager_with_auto_payment_handling_and_surcharge_and_abort, XCTAssertTrue failed - 6 events should have been called.
Run unit tests (SPM)
Restarting after unexpected exit, crash, or test timeout in HUC_TokenizationViewModelTests.test_native_ui_manager_with_auto_payment_handling_and_surcharge_and_abort(); summary will include totals from previous launches.
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L462
-[PrimerSDKTests.HUC_TokenizationViewModelTests test_native_ui_manager_with_manual_payment_handling_and_no_surcharge] : Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Successful HUC initialization".
Run unit tests (SPM): Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L414
-[PrimerSDKTests.HUC_TokenizationViewModelTests test_native_ui_manager_with_manual_payment_handling_and_surcharge_and_abort] : XCTAssertTrue failed - 6 events should have been called.
Run unit tests (SPM)
Restarting after unexpected exit, crash, or test timeout in HUC_TokenizationViewModelTests.test_native_ui_manager_with_manual_payment_handling_and_surcharge_and_abort(); summary will include totals from previous launches.
Run unit tests (SPM)
Process completed with exit code 1.
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L462
test_native_ui_manager_with_auto_payment_handling_and_no_surcharge, Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Successful HUC initialization".
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L414
test_native_ui_manager_with_auto_payment_handling_and_surcharge_and_abort, XCTAssertTrue failed - 6 events should have been called.
Unit Tests: Swift/ContiguousArrayBuffer.swift#L600
Index out of range
Unit Tests
Restarting after unexpected exit, crash, or test timeout in HUC_TokenizationViewModelTests.test_native_ui_manager_with_auto_payment_handling_and_surcharge_and_abort(); summary will include totals from previous launches.
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L462
-[Debug_App_Tests.HUC_TokenizationViewModelTests test_native_ui_manager_with_manual_payment_handling_and_no_surcharge] : Asynchronous wait failed: Exceeded timeout of 60 seconds, with unfulfilled expectations: "Successful HUC initialization".
Unit Tests: Debug App/Tests/Unit Tests/Modules/HUC_TokenizationViewModelTests.swift#L414
-[Debug_App_Tests.HUC_TokenizationViewModelTests test_native_ui_manager_with_manual_payment_handling_and_surcharge_and_abort] : XCTAssertTrue failed - 6 events should have been called.
Unit Tests
Restarting after unexpected exit, crash, or test timeout in HUC_TokenizationViewModelTests.test_native_ui_manager_with_manual_payment_handling_and_surcharge_and_abort(); summary will include totals from previous launches.
Unit Tests
Process completed with exit code 1.
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L404
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L204
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L204
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L405
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L409
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L438
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L449
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/PayPalTokenizationViewModel.swift#L458
'keyWindow' was deprecated in iOS 13.0: Should not be used for applications that support multiple scenes as it returns a key window across all connected scenes
Run unit tests (SPM): Sources/PrimerSDK/Classes/Data Models/ApplePay.swift#L12
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Run unit tests (SPM): Sources/PrimerSDK/Classes/Data Models/ClientSession.swift#L249
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L5
public class 'Primer3DS.Primer3DS' shadows module 'Primer3DS', which may cause failures when importing 'Primer3DS' or its clients in some configurations; please rename either the class 'Primer3DS.Primer3DS' or the module 'Primer3DS', or see https://github.com/apple/swift/issues/56573 for workarounds
Unit Tests: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L5
public class 'Primer3DS.Primer3DS' shadows module 'Primer3DS', which may cause failures when importing 'Primer3DS' or its clients in some configurations; please rename either the class 'Primer3DS.Primer3DS' or the module 'Primer3DS', or see https://github.com/apple/swift/issues/56573 for workarounds
Unit Tests: Debug App/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/UIKitExtensions/IQUIScrollView+Additions.swift#L37
conformance of 'UIScrollView' to protocol 'IQKeyboardManagerCompatible' was already stated in the type's module 'UIKit'
Unit Tests: Debug App/Pods/Primer3DS/Sources/Primer3DS/Classes/Primer3DS.swift#L135
conditional cast from 'any Error' to 'NSError' always succeeds
Unit Tests: Debug App/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/UIKitExtensions/IQUIScrollView+Additions.swift#L37
conformance of 'UIScrollView' to protocol 'IQKeyboardManagerCompatible' was already stated in the type's module 'UIKit'
Unit Tests: Sources/PrimerSDK/Classes/Data Models/ApplePay.swift#L12
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Sources/PrimerSDK/Classes/User Interface/TokenizationViewModels/ApplePayTokenizationViewModel.swift#L404
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Sources/PrimerSDK/Classes/Data Models/ClientSession.swift#L249
'OrderItem' is deprecated: Set the order items in the client session with POST /client-session. See documentation here: https://primer.io/docs/api#tag/Client-Session
Unit Tests: Sources/PrimerSDK/Classes/Error Handler/ErrorHandler.swift#L19
@discardableResult declared on a function returning Void is unnecessary
Unit Tests: Sources/PrimerSDK/Classes/Third Party/PromiseKit/Guarantee.swift#L64
generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6