Skip to content

Merge pull request #351 from docknetwork/fix/actions-cache-version #1790

Merge pull request #351 from docknetwork/fix/actions-cache-version

Merge pull request #351 from docknetwork/fix/actions-cache-version #1790

GitHub Actions / Integration Test Report failed Mar 5, 2025 in 1s

40 passed, 3 failed and 0 skipped

Tests failed

❌ reports/jest-junit.xml

43 tests were completed in 717s with 40 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
integration-tests/accounts.test.ts 4✅ 7s
integration-tests/biometric-plugin.test.ts 4✅ 10s
integration-tests/cheqd-credentials.test.ts 1✅ 8s
integration-tests/cloud-wallet.test.ts 9✅ 31s
integration-tests/credential-distribution.test.ts 2✅ 18s
integration-tests/custom-networks.test.ts 2❌ 245s
integration-tests/ecosystem-tools.test.ts 2✅ 7s
integration-tests/subscan.test.ts 1✅ 1s
integration-tests/switch-wallet.test.ts 1✅ 1❌ 248s
integration-tests/verification-flow/bbs-plus-expired.test.ts 1✅ 6s
integration-tests/verification-flow/bbs-plus-revocation.test.ts 2✅ 21s
integration-tests/verification-flow/bbs-plus-valid.test.ts 1✅ 7s
integration-tests/verification-flow/cheqd-revocation.test.ts 1✅ 10s
integration-tests/verification-flow/range-proofs.test.ts 1✅ 28s
integration-tests/verification-flow/sales-demo-auto-loan.test.ts 1✅ 27s
integration-tests/verification-flow/vpi-verification.test.ts 1✅ 10s
integration-tests/wallet-backup.test.ts 2✅ 8s
integration-tests/wallet-snapshot-v1.test.ts 5✅ 6s
integration-tests/wallet-to-wallet-verification.test.ts 1✅ 18s

✅ integration-tests/accounts.test.ts

Accounts
  ✅ expect to have created accounts
  ✅ expect to have valid KeyringPair on each account
  ✅ expect to import account from mnemonic
  ✅ expect to import account from JSON

✅ integration-tests/biometric-plugin.test.ts

Biometric Plugin
  ✅ should create enrollment credential
  ✅ should create bbs+ biometric match credential
  ✅ should remove old biometric match credential
  ✅ should create vpi biometric match credential

✅ integration-tests/cheqd-credentials.test.ts

Cheq integration tests
  ✅ should verify a non ZKP cheqd credential

✅ integration-tests/cloud-wallet.test.ts

Cloud wallet
  ✅ should see a document added directly to the EDV appear in the wallet after pulling
  ✅ should sync a document added to the wallet to the EDV
  ✅ should update a document in the wallet and see it updated in the EDV
  ✅ should handle concurrent updates to the same document sequentially
  ✅ should handle updating and deleting a document
  ✅ should remove a document from the wallet and see it removed from the EDV
  ✅ should have zero sync marker diff after pushing sync marker
  ✅ should detect sync marker diff after updating sync marker directly in EDV
  ✅ should unsubscribe from all events listeners

✅ integration-tests/credential-distribution.test.ts

Credential Distribution
  ✅ should receive a credential issued to the wallet DID
  ✅ should receive multiple credentials issued to multiple wallet DIDs

❌ integration-tests/custom-networks.test.ts

Custom networks
  ❌ should have documents only on mainnet
	Error: thrown: "Exceeded timeout of 240000 ms for a hook.
  ❌ should add document to mumbai without affecting polygon
	Error: thrown: "Exceeded timeout of 240000 ms for a hook.

✅ integration-tests/ecosystem-tools.test.ts

BBS+ presentations
  ✅ should fetch ecosystem tools for the given issuer
  ✅ should fetch verifiers for the given registry

✅ integration-tests/subscan.test.ts

subscan integration
  ✅ should fetch transactions using subscan APIs

❌ integration-tests/switch-wallet.test.ts

Switch wallet
  ✅ expect switch to tesnet and have an empty wallet
  ❌ expect switch to tesnet and have an empty wallet
	Error: thrown: "Exceeded timeout of 240000 ms for a hook.

✅ integration-tests/verification-flow/bbs-plus-expired.test.ts

BBS+ presentations
  ✅ should fail to verify expired credential

✅ integration-tests/verification-flow/bbs-plus-revocation.test.ts

BBS+ revocation
  ✅ should verify a revokable bbs+ credential
  ✅ should verify a revokable bbs+ credential with an updated witness

✅ integration-tests/verification-flow/bbs-plus-valid.test.ts

BBS+ presentations
  ✅ should verify valid bbs+ credential

✅ integration-tests/verification-flow/cheqd-revocation.test.ts

BBS+ revocation cheqd
  ✅ should verify a revokable bbs+ credential issued on cheqd

✅ integration-tests/verification-flow/range-proofs.test.ts

Range proofs verification
  ✅ should create range proofs presentation without subject

✅ integration-tests/verification-flow/sales-demo-auto-loan.test.ts

BBS+ presentations
  ✅ should verify an auto loan proof request

✅ integration-tests/verification-flow/vpi-verification.test.ts

VPI verification
  ✅ should verify a vpi credential

✅ integration-tests/wallet-backup.test.ts

Wallet backups
  ✅ expect to import wallet from backup
  ✅ expect to export wallet backup

✅ integration-tests/wallet-snapshot-v1.test.ts

Wallet Snapshot V1
  ✅ expect to have load all documents
  ✅ expect to have load accounts
  ✅ expect to have loaded DIDs
  ✅ expect to have loaded credentials
  ✅ expect to have loaded Verification Templates

✅ integration-tests/wallet-to-wallet-verification.test.ts

Wallet to Wallet Verification
  ✅ should get OOB message to be shared as QR code

Annotations

Check failure on line 7 in integration-tests/custom-networks.test.ts

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/custom-networks.test.ts ► Custom networks ► should have documents only on mainnet

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Raw output
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at /home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:43:3
    at _dispatchDescribe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
    at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:7:1)
    at Runtime._execModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 7 in integration-tests/custom-networks.test.ts

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/custom-networks.test.ts ► Custom networks ► should add document to mumbai without affecting polygon

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Raw output
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at /home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:43:3
    at _dispatchDescribe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
    at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/custom-networks.test.ts:7:1)
    at Runtime._execModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 32 in integration-tests/switch-wallet.test.ts

See this annotation in the file changed.

@github-actions github-actions / Integration Test Report

integration-tests/switch-wallet.test.ts ► Switch wallet ► expect switch to tesnet and have an empty wallet

Failed test found in:
  reports/jest-junit.xml
Error:
  Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Raw output
Error: thrown: "Exceeded timeout of 240000 ms for a hook.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at /home/runner/work/react-native-sdk/react-native-sdk/integration-tests/switch-wallet.test.ts:33:3
    at _dispatchDescribe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:91:26)
    at describe (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/index.js:55:5)
    at Object.<anonymous> (/home/runner/work/react-native-sdk/react-native-sdk/integration-tests/switch-wallet.test.ts:32:1)
    at Runtime._execModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/react-native-sdk/react-native-sdk/node_modules/@jest/core/node_modules/jest-runner/build/runTest.js:444:34)