Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PWN-9252] GetAccountStatement API Request #1484

Merged
merged 2 commits into from
Jul 20, 2023

[PWN-9252] Remove extra line

24372ab
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

[PWN-9252] GetAccountStatement API Request #1484

[PWN-9252] Remove extra line
24372ab
Select commit
Loading
Failed to load commit list.
GitHub Actions / Xcode test results failed Jul 20, 2023 in 0s

Xcode test results

Testing workspace KeyAppKit with scheme KeyAppKit-Package

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
51492008.42s

Test Summary

BankTransferTests

  • Device: iPhone 14, 16.4 (20E247)
  • SDK: Simulator - iOS 16.4, 16.4
TestTotalSuccessFailureSkippedExpected Failure
test-class StrigaEndpointTests1212000
test-class StrigaRemoteProviderTests2121000

CountriesAPIUnitTests

  • Device: iPhone 14, 16.4 (20E247)
  • SDK: Simulator - iOS 16.4, 16.4
TestTotalSuccessFailureSkippedExpected Failure
test-class CountriesAPIUnitTests22000

JSBridgeTests

  • Device: iPhone 14, 16.4 (20E247)
  • SDK: Simulator - iOS 16.4, 16.4
TestTotalSuccessFailureSkippedExpected Failure
test-class PromiseDispatchTableTests22000
test-class JSBValueTests22000

KeyAppNetworkingTests

  • Device: iPhone 14, 16.4 (20E247)
  • SDK: Simulator - iOS 16.4, 16.4
TestTotalSuccessFailureSkippedExpected Failure
test-class HTTPClientTests33000

KeyAppStateMachineTests

  • Device: iPhone 14, 16.4 (20E247)
  • SDK: Simulator - iOS 16.4, 16.4
TestTotalSuccessFailureSkippedExpected Failure
test-class StateMachineTests64200
test-class StateTests33000

Failure Failures

KeyAppStateMachineTests/StateMachineTests/testAcceptNewAction_CancelingPreviousActionImmediately_ShouldReturnSecondState()

File
Issue TypeAssertion Failure
MessageTest crashed with signal ill.

KeyAppStateMachineTests/StateMachineTests/testAcceptNewActions_CancelingPreviousActionOrWaiting_ShouldPerformActionsCorrectly()

File/Users/runner/work/p2p-wallet-ios/p2p-wallet-ios/Packages/KeyAppKit/Tests/UnitTests/KeyAppStateMachineTests/StateMachineTests.swift:259
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("RecruitmentState(applicantName: "Napoleon The Fourth", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)") is not equal to ("RecruitmentState(applicantName: "Napoleon The Third", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)")
File/Users/runner/work/p2p-wallet-ios/p2p-wallet-ios/Packages/KeyAppKit/Tests/UnitTests/KeyAppStateMachineTests/StateMachineTests.swift:263
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("RecruitmentState(applicantName: "Napoleon The Third", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)") is not equal to ("RecruitmentState(applicantName: "Napoleon The Fourth", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)")
File/Users/runner/work/p2p-wallet-ios/p2p-wallet-ios/Packages/KeyAppKit/Tests/UnitTests/KeyAppStateMachineTests/StateMachineTests.swift:267
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("RecruitmentState(applicantName: "Napoleon The Third", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.completed)") is not equal to ("RecruitmentState(applicantName: "Napoleon The Fourth", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.completed)")

Details

Test Details

BankTransferTestsback

StrigaEndpointTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.02s
Successtest-method testCreateUser()
Successtest-method testEnrichAccount()
Successtest-method testGetAllWallets()
Successtest-method testGetKYC()
Successtest-method testGetSignedTimestampMessage()
Successtest-method testGetUserDetails()
Successtest-method testInitiateOnChainWalletSend()
Successtest-method testKYCGetToken()
Successtest-method testResendSMS()
Successtest-method testTransactionConfirmOTPEndpoint()
Successtest-method testTransactionResendOTPEndpoint()
Successtest-method testVerifyMobileNumber()

StrigaRemoteProviderTests back

SuccessFailureSkippedExpected Failure⏱️
21 (100%)0 (0%)0 (0%)0 (0%)0.02s
Successtest-method testCreateUser_SuccessfulResponse_ReturnsCreateUserResponse()
Successtest-method testEnrichAccount_SuccessfulResponse_ReturnsEnrichedAccount()
Successtest-method testExchangeRates_FailedResponse()
Successtest-method testExchangeRates_SuccessfulResponse()
Successtest-method testGetAccountStatement_SuccessfulEmptyResponse()
Successtest-method testGetAccountStatement_SuccessfulResponse()
Successtest-method testGetAllWalletsByUser_SuccessfulResponse_ReturnsStrigaGetAllWalletsResponse()
Successtest-method testGetKYCStatus_SuccessfulResponse_ReturnsStrigaKYC()
Successtest-method testGetKYCToken_InvalidFields400_ReturnsInvalidResponse()
Successtest-method testGetKYCToken_SuccessfulResponse_ReturnsToken()
Successtest-method testGetKYCToken_UserNotVerified409_ReturnsInvalidResponse()
Successtest-method testGetUserDetails_SuccessfulResponse_ReturnsStrigaUserDetailsResponse()
Successtest-method testInitiateOnchainFeeEstimate_SuccessfulResponse()
Successtest-method testInitiateOnChainWalletSend_SuccessfulResponse()
Successtest-method testProcessTransaction_SuccessfulResponse()
Successtest-method testResendSMS_ErrorDetail409_ReturnsInvalidResponse()
Successtest-method testResendSMS_SuccessfulResponse_ReturnsAccepted()
Successtest-method testTransactionResendOTP_SuccessfulResponse()
Successtest-method testVerifyPhoneNumber_EmptyResponse400_ReturnsInvalidResponse()
Successtest-method testVerifyPhoneNumber_ErrorDetail409_ReturnsOtpExceededVerification()
Successtest-method testVerifyPhoneNumber_SuccessfulResponse_ReturnsAccepted()

CountriesAPIUnitTestsback

CountriesAPIUnitTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.09s
Successtest-method testGetCountryByEmoji()
Successtest-method testGetCountryByName()

JSBridgeTestsback

PromiseDispatchTableTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testFailedFlow()
Successtest-method testSuccessfulFlow()

JSBValueTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.16s
Successtest-method testBase()
Successtest-method testParseArgs()

KeyAppNetworkingTestsback

HTTPClientTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testRequest_InvalidResponse_ThrowsError()
Successtest-method testRequest_SuccessfulResponse_ReturnsDecodedModel()
Successtest-method testRequest_SuccessfulResponse_ReturnsString()

KeyAppStateMachineTestsback

StateMachineTests back

SuccessFailureSkippedExpected Failure⏱️
4 (67%)2 (33%)0 (0%)0 (0%)8.13s
Successtest-method testAccept3Actions_WaitForEachPreviousActionToComplete_ShouldReturnAllStates()
Successtest-method testAcceptAnAction_ShouldReturnExpectedState()
Successtest-method testAcceptAnAction_WaitForItToFinish_AcceptSecondAction_ShouldReturnFirstStateThenSecondState()
Failuretest-method testAcceptNewAction_CancelingPreviousActionImmediately_ShouldReturnSecondState()back
Successtest-method testAcceptNewAction_WaitForPreviousActionToComplete_ShouldReturnBothStates()
Failuretest-method testAcceptNewActions_CancelingPreviousActionOrWaiting_ShouldPerformActionsCorrectly()back

StateTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testModifiedState()
Successtest-method testModifiedStateMultipleTimes()
Successtest-method testModifiedStateNoChanges()

Annotations

Check failure on line 259 in KeyAppKit/Tests/UnitTests/KeyAppStateMachineTests/StateMachineTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("RecruitmentState(applicantName: "Napoleon The Fourth", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)") is not equal to ("RecruitmentState(applicantName: "Napoleon The Third", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)")

Check failure on line 263 in KeyAppKit/Tests/UnitTests/KeyAppStateMachineTests/StateMachineTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("RecruitmentState(applicantName: "Napoleon The Third", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)") is not equal to ("RecruitmentState(applicantName: "Napoleon The Fourth", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.sending)")

Check failure on line 267 in KeyAppKit/Tests/UnitTests/KeyAppStateMachineTests/StateMachineTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("RecruitmentState(applicantName: "Napoleon The Third", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.completed)") is not equal to ("RecruitmentState(applicantName: "Napoleon The Fourth", sendingStatus: KeyAppStateMachineTests.RecruitmentState.Status.completed)")