Skip to content

Instantly share code, notes, and snippets.

@dashameter
Created December 26, 2021 13:26
Show Gist options
  • Save dashameter/04b309382faf20c1e19175a661cfffee to your computer and use it in GitHub Desktop.
Save dashameter/04b309382faf20c1e19175a661cfffee to your computer and use it in GitHub Desktop.
npm run test:browsers
> @dashevo/platform-test-suite@0.21.0 test:browsers
> karma start ./karma.conf.js --single-run
webpack was not included as a framework in karma configuration, setting this automatically...
Webpack bundling...
asset commons.js 10.2 MiB [emitted] (name: commons) (id hint: commons)
asset runtime.js 8.2 KiB [emitted] (name: runtime)
asset index.4100595809.js 1.03 KiB [emitted] (name: index.4100595809)
Entrypoint index.4100595809 10.2 MiB = runtime.js 8.2 KiB commons.js 10.2 MiB index.4100595809.js 1.03 KiB
webpack 5.59.1 compiled successfully in 3815 ms
26 12 2021 14:17:57.558:INFO [karma-server]: Karma v6.3.5 server started at http://localhost:9876/
26 12 2021 14:17:57.559:INFO [launcher]: Launching browsers ChromeHeadless, FirefoxHeadless, IE, Opera with concurrency unlimited
26 12 2021 14:17:57.563:INFO [launcher]: Starting browser ChromeHeadless
26 12 2021 14:17:57.583:INFO [launcher]: Starting browser Firefox
26 12 2021 14:17:57.605:INFO [launcher]: Starting browser IE
26 12 2021 14:17:57.608:ERROR [launcher]: No binary for IE browser on your platform.
Please, set "IE_BIN" env variable.
26 12 2021 14:17:57.609:INFO [launcher]: Starting browser Opera
26 12 2021 14:17:57.644:ERROR [launcher]: Cannot start Opera
Can not find the binary opera
Please set env variable OPERA_BIN
26 12 2021 14:17:57.645:ERROR [launcher]: Opera stdout:
26 12 2021 14:17:57.645:ERROR [launcher]: Opera stderr:
26 12 2021 14:17:57.835:INFO [Chrome Headless 96.0.4664.110 (Linux x86_64)]: Connected on socket Gr7xIYEMJ3ZIjMWIAAAB with id 35972634
Chrome Headless 96.0.4664.110 (Linux x86_64): Executed 0 of 59 SUCCESS (0 secs / 0 secs)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Bob should publish "Contacts" data contract FAILED
TypeError: grpcError.metadata.get is not a function
at GrpcTransport.createGrpcTransportError (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dapi-client/lib/transport/GrpcTransport/createGrpcTransportError.js?:107:44)
at GrpcTransport.request (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dapi-client/lib/transport/GrpcTransport/GrpcTransport.js?:87:34)
at async PlatformMethodsFacade.broadcastStateTransition (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dapi-client/lib/methods/platform/broadcastStateTransition/broadcastStateTransitionFactory.js?:33:50)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Bob should create profile in "Contacts" app FAILED
Error: Application with name contacts is not defined
at ClientApps.get (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/ClientApps.js?:36:19)
at Platform.eval (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:60:56)
at step (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:33:23)
at Object.eval [as next] (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:14:53)
at fulfilled (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:5:58)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Alice should create user wallet and identity FAILED
TypeError: grpcError.metadata.get is not a function
at GrpcTransport.createGrpcTransportError (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dapi-client/lib/transport/GrpcTransport/createGrpcTransportError.js?:107:44)
at GrpcTransport.request (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dapi-client/lib/transport/GrpcTransport/GrpcTransport.js?:87:34)
at async PlatformMethodsFacade.getIdentityIdsByPublicKeyHashes (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dapi-client/lib/methods/platform/getIdentityIdsByPublicKeyHashes/getIdentityIdsByPublicKeyHashesFactory.js?:37:57)
at async DAPIClientTransport.getIdentityIdsByPublicKeyHashes [as getIdentityIdsByPublicKeyHash] (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/transport/DAPIClientTransport/methods/getIdentityIdsByPublicKeyHashes.js?:10:20)
at async IdentitySyncWorker.execute (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/plugins/Workers/IdentitySyncWorker.js?:69:27)
at async IdentitySyncWorker.execWorker (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/plugins/Worker.js?:119:25)
at async Account.getUnusedIdentityIndex (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/types/Account/methods/getUnusedIdentityIndex.js?:7:3)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Alice should create profile in "Contacts" app FAILED
TypeError: Cannot read properties of undefined (reading 'getId')
at Platform.eval (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:67:86)
at step (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:33:23)
at Object.eval [as next] (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:14:53)
at fulfilled (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/create.js?:5:58)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Alice should be able to update her profile FAILED
TypeError: Cannot read properties of undefined (reading 'set')
at Context.eval (webpack://@dashevo/platform-test-suite/./test/e2e/contacts.spec.js?:193:22)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Bob should be able to send contact request FAILED
TypeError: Cannot read properties of undefined (reading 'getId')
at Context.eval (webpack://@dashevo/platform-test-suite/./test/e2e/contacts.spec.js?:222:35)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Alice should be able to approve contact request FAILED
TypeError: Cannot read properties of undefined (reading 'getPublicKeyById')
at Context.eval (webpack://@dashevo/platform-test-suite/./test/e2e/contacts.spec.js?:251:38)
Chrome Headless 96.0.4664.110 (Linux x86_64) e2e Contacts Alice should be able to remove contact approval FAILED
TypeError: Cannot read properties of undefined (reading 'getOwnerId')
at DocumentFactory.createStateTransition (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dpp/lib/document/DocumentFactory.js?:218:31)
at DocumentFacade.createStateTransition (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/dpp/lib/document/DocumentFacade.js?:112:25)
at Platform.eval (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/broadcast.js?:63:61)
at step (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/broadcast.js?:33:23)
at Object.eval [as next] (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/broadcast.js?:14:53)
at fulfilled (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Platform/methods/documents/broadcast.js?:5:58)
Chrome Headless 96.0.4664.110 (Linux x86_64) DPNS DPNS owner "before all" hook for "should be able to register a TLD" FAILED
Error: Expected a valid HDPrivateKey (typeof HDPrivateKey or String)
at Wallet.fromHDPrivateKey (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/types/Wallet/methods/fromHDPrivateKey.js?:13:45)
at new Wallet (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/types/Wallet/Wallet.js?:87:12)
at new Client (webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Client.js?:115:28)
at createClientWithFundedWallet (webpack://@dashevo/platform-test-suite/./lib/test/createClientWithFundedWallet.js?:45:18)
at Context.eval (webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:53:27)
Chrome Headless 96.0.4664.110 (Linux x86_64) DPNS DPNS owner "after all" hook for "should not be able to delete domain" FAILED
TypeError: Cannot read properties of undefined (reading 'disconnect')
at Context.eval (webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:65:25)
Firefox 95.0 (Ubuntu 0.0.0) DPNS DPNS owner "before all" hook for "should be able to register a TLD" FAILED
Expected a valid HDPrivateKey (typeof HDPrivateKey or String)
fromHDPrivateKey@webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/types/Wallet/methods/fromHDPrivateKey.js?:13:45
Wallet@webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/types/Wallet/Wallet.js?:87:12
Client@webpack://@dashevo/platform-test-suite/./node_modules/dash/build/src/SDK/Client/Client.js?:115:28
createClientWithFundedWallet@webpack://@dashevo/platform-test-suite/./lib/test/createClientWithFundedWallet.js?:45:18
@webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:53:27
Firefox 95.0 (Ubuntu 0.0.0) WARN: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 blockheight_changed listeners added. Use emitter.setMaxListeners() to increase limit
_addListener@webpack://@dashevo/platform-test-suite/./node_modules/events/events.js?:211:15
addListener@webpack://@dashevo/platform-test-suite/./node_modules/events/events.js?:227:10
once@webpack://@dashevo/platform-test-suite/./node_modules/events/events.js?:257:8
handleTransactionFromStream/<@webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/plugins/Workers/TransactionSyncStreamWorker/methods/handleTransactionFromStream.js?:33:25
handleTransactionFromStream@webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/plugins/Workers/TransactionSyncStreamWorker/methods/handleTransactionFromStream.js?:32:12
Firefox 95.0 (Ubuntu 0.0.0) DPNS DPNS owner "after all" hook for "should not be able to delete domain" FAILED
ownerClient is undefined
@webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:65:7
Chrome Headless 96.0.4664.110 (Linux x86_64) WARN: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 blockheight_changed listeners added. Use emitter.setMaxListeners() to increase limit
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 blockheight_changed listeners added. Use emitter.setMaxListeners() to increase limit
at _addListener (webpack://@dashevo/platform-test-suite/./node_modules/events/events.js?:211:15)
at Object.addListener [as on] (webpack://@dashevo/platform-test-suite/./node_modules/events/events.js?:227:10)
at Object.once (webpack://@dashevo/platform-test-suite/./node_modules/events/events.js?:257:8)
at eval (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/plugins/Workers/TransactionSyncStreamWorker/methods/handleTransactionFromStream.js?:33:25)
at new Promise (<anonymous>)
at TransactionSyncStreamWorker.handleTransactionFromStream (webpack://@dashevo/platform-test-suite/./node_modules/@dashevo/wallet-lib/src/plugins/Workers/TransactionSyncStreamWorker/methods/handleTransactionFromStream.js?:32:12)
at async Promise.all (index 0)
Firefox 95.0 (Ubuntu 0.0.0) DPNS Any Identity should not be able to register TLD FAILED
expected 'grpcError.metadata.get is not a function' to equal 'Can\'t create top level domain for this identity'
AssertionError@webpack://@dashevo/platform-test-suite/./node_modules/assertion-error/index.js?:74:13
module.exports/Assertion.prototype.assert@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/assertion.js?:152:13
assertEqual@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/core/assertions.js?:1038:12
methodWrapper@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/utils/addMethod.js?:57:25
doAsserterAsyncAndAddThen@webpack://@dashevo/platform-test-suite/./node_modules/chai-as-promised/lib/chai-as-promised.js?:289:22
module.exports/</</<@webpack://@dashevo/platform-test-suite/./node_modules/chai-as-promised/lib/chai-as-promised.js?:255:20
overwritingMethodWrapper@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/utils/overwriteMethod.js?:78:33
dirtyChai/</</<@webpack://@dashevo/platform-test-suite/./node_modules/dirty-chai/lib/dirty-chai.js?:107:25
overwritingMethodWrapper@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/utils/overwriteMethod.js?:78:33
@webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:142:44
Firefox 95.0 (Ubuntu 0.0.0) DPNS Any Identity should not be able to register a subdomain for parent domain which is not exist FAILED
expected 'grpcError.metadata.get is not a function' to equal 'Parent domain is not present'
AssertionError@webpack://@dashevo/platform-test-suite/./node_modules/assertion-error/index.js?:74:13
module.exports/Assertion.prototype.assert@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/assertion.js?:152:13
assertEqual@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/core/assertions.js?:1038:12
methodWrapper@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/utils/addMethod.js?:57:25
doAsserterAsyncAndAddThen@webpack://@dashevo/platform-test-suite/./node_modules/chai-as-promised/lib/chai-as-promised.js?:289:22
module.exports/</</<@webpack://@dashevo/platform-test-suite/./node_modules/chai-as-promised/lib/chai-as-promised.js?:255:20
overwritingMethodWrapper@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/utils/overwriteMethod.js?:78:33
dirtyChai/</</<@webpack://@dashevo/platform-test-suite/./node_modules/dirty-chai/lib/dirty-chai.js?:107:25
overwritingMethodWrapper@webpack://@dashevo/platform-test-suite/./node_modules/chai/lib/chai/utils/overwriteMethod.js?:78:33
@webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:177:44
Firefox 95.0 (Ubuntu 0.0.0) DPNS Any Identity should be able to resolve domain by it's name FAILED
document is null
@webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:194:7
Firefox 95.0 (Ubuntu 0.0.0) DPNS Any Identity should not be able to update domain FAILED
registeredDomain is undefined
@webpack://@dashevo/platform-test-suite/./test/e2e/dpns.spec.js?:207:7
Chrome Headless 96.0.4664.110 (Linux x86_64): Executed 20 of 59 (10 FAILED) (skipped 4) (0 secs / 3 mins 54.25 secs)
Firefox 95.0 (Ubuntu 0.0.0): Executed 16 of 59 (6 FAILED) (skipped 3) (0 secs / 5 mins 36.029 secs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment