Issues/216 - Import e2e cucumber tests into casper-java-sdk #196
Cucumber report (3 errors)
22 Scenarios (3 failed, 19 passed)
253 Steps (3 failed, 16 skipped, 234 passed)
Annotations
Check notice on line 0 in test
github-actions / Cucumber report
Cucumber report summary
22 Scenarios (3 failed, 19 passed)
253 Steps (3 failed, 16 skipped, 234 passed)
Check failure on line 13 in file:sdk-std-test-resources/features/deploys_generated_keys.feature
github-actions / Cucumber report
Generate "Secp256k1" Account Failed.
Scenario: Generate "Secp256k1" Account
Step: that a "Secp256k1" sender key is generated
Error:
java.lang.AssertionError:
Expected: is not null
but: was null
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at com.casper.sdk.e2e.steps.DeployGeneratedKeys.thatSenderKeyIsGenerated(DeployGeneratedKeys.java:80)
at ✽.that a "Secp256k1" sender key is generated(file:///home/runner/work/casper-java-sdk/casper-java-sdk/sdk-std-test-resources/features/deploys_generated_keys.feature:13)
Check failure on line 4 in file:sdk-std-test-resources/features/query_global_state.feature
github-actions / Cucumber report
query_global_state by block hash Failed.
Scenario: query_global_state by block hash
Step: that a valid block hash is known
Error:
java.lang.AssertionError:
Expected: is <true>
but: was <false>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at com.casper.sdk.e2e.steps.QueryGlobalStateStepDefinitions.waitForBlockAdded(QueryGlobalStateStepDefinitions.java:262)
at com.casper.sdk.e2e.steps.QueryGlobalStateStepDefinitions.thatAValidBlockHashIsKnown(QueryGlobalStateStepDefinitions.java:75)
at ✽.that a valid block hash is known(file:///home/runner/work/casper-java-sdk/casper-java-sdk/sdk-std-test-resources/features/query_global_state.feature:4)
Check failure on line 19 in file:sdk-std-test-resources/features/wasm.feature
github-actions / Cucumber report
Read wasm, deploy and invoke Failed.
Scenario: Read wasm, deploy and invoke
Step: the the contract is invoked by hash and version with a transfer amount of "2500000000"
Error:
com.casper.sdk.exception.CasperClientException: Invalid Deploy (code: -32008)
at com.casper.sdk.exception.CasperClientExceptionResolver.resolveException(CasperClientExceptionResolver.java:25)
at com.googlecode.jsonrpc4j.JsonRpcClient.handleErrorResponse(JsonRpcClient.java:272)
at com.googlecode.jsonrpc4j.JsonRpcClient.readResponse(JsonRpcClient.java:196)
at com.googlecode.jsonrpc4j.JsonRpcClient.readResponse(JsonRpcClient.java:539)
at com.googlecode.jsonrpc4j.JsonRpcHttpClient.invoke(JsonRpcHttpClient.java:143)
at com.googlecode.jsonrpc4j.ProxyUtil$3.invoke(ProxyUtil.java:213)
at com.sun.proxy.$Proxy38.putDeploy(Unknown Source)
at com.casper.sdk.e2e.steps.WasmStepDefinitions.theTheContractIsInvokedByHashAndVersionWithATransferAmountOf(WasmStepDefinitions.java:400)
at ✽.the the contract is invoked by hash and version with a transfer amount of "2500000000"(file:///home/runner/work/casper-java-sdk/casper-java-sdk/sdk-std-test-resources/features/wasm.feature:19)