Add logs testing #57
run-e2e-tests.yaml
on: pull_request
Run E2E Tests
2m 58s
Annotations
20 errors and 1 warning
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by contract address:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by topic0 address:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by topic1:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by topic2:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by topic3:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by all topics:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be able query by all topics and address:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be empty for matching topics and non-matching address:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
test/thorest-api/logs/query-events.test.ts ► POST /logs/event =>> query by "criteriaSet" ► should be empty for non-matching topics and matching address:
src/wallet.ts#L170
Failed test found in:
junit.xml
Error:
Error: {"httpCode":403,"message":"tx rejected: insufficient energy\n"}
|
POST /logs/event › query by "criteriaSet" › should be able query by contract address:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be able query by topic0 address:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be able query by topic1:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be able query by topic2:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be able query by topic3:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be able query by all topics:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be able query by all topics and address:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be empty for matching topics and non-matching address:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
POST /logs/event › query by "criteriaSet" › should be empty for non-matching topics and matching address:
src/wallet.ts#L170
{"httpCode":403,"message":"tx rejected: insufficient energy\n"}
at ThorWallet.sendClauses (src/wallet.ts:170:19)
at ThorWallet.deployContract (src/wallet.ts:74:25)
at Object.<anonymous> (test/thorest-api/logs/query-events.test.ts:338:31)
|
Run E2E Tests
Process completed with exit code 1.
|
Run E2E Tests
Failed test were found and 'fail-on-error' option is set to true
|
Run E2E Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|