Guardian CI API Tests(Manual) - all #185
GitHub Actions / Test Results
failed
Jan 23, 2025 in 0s
2 fail, 434 pass in 32m 47s
126 files 258 suites 32m 47s ⏱️
436 tests 434 ✅ 0 💤 2 ❌
437 runs 435 ✅ 0 💤 2 ❌
Results for commit 88a4b89.
Annotations
Check warning on line 0 in Set Hedera credentials for the Installer
github-actions / Test Results
Profiles Set Hedera credentials for the Installer (Set Hedera credentials for the Installer) failed
e2e-tests/cypress/test_results/junit/b6b94fd5784b9d5b853c8191d2ff6aca.xml [took 0s]
Raw output
`cy.request()` failed on: http://localhost:3002/accounts/login/ The response we received from your web server was: > 401: Unauthorized This was considered a failure because the status code was not `2xx` or `3xx`. If you do not want status codes to cause failures pass the option: `failOnStatusCode: false` ----------------------------------------------------------- The request we sent was: Method: POST URL: http://localhost:3002/accounts/login/ Headers: { "Connection": "keep-alive", "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/132.0.0.0 Safari/537.36", "accept": "*/*", "accept-encoding": "gzip, deflate", "content-type": "application/json", "content-length": 36 } Body: {"username":"SR3","password":"test"} ----------------------------------------------------------- The response we got was: Status: 401 - Unauthorized Headers: { "content-type": "application/json; charset=utf-8", "content-length": "51", "date": "Thu, 23 Jan 2025 20:04:56 GMT", "connection": "keep-alive", "keep-alive": "timeout=72" } Body: { "statusCode": 401, "message": "Unauthorized request" } https://on.cypress.io/request
CypressError: `cy.request()` failed on:
http://localhost:3002/accounts/login/
The response we received from your web server was:
> 401: Unauthorized
This was considered a failure because the status code was not `2xx` or `3xx`.
If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
-----------------------------------------------------------
The request we sent was:
Method: POST
URL: http://localhost:3002/accounts/login/
Headers: {
"Connection": "keep-alive",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/132.0.0.0 Safari/537.36",
"accept": "*/*",
"accept-encoding": "gzip, deflate",
"content-type": "application/json",
"content-length": 36
}
Body: {"username":"SR3","password":"test"}
-----------------------------------------------------------
The response we got was:
Status: 401 - Unauthorized
Headers: {
"content-type": "application/json; charset=utf-8",
"content-length": "51",
"date": "Thu, 23 Jan 2025 20:04:56 GMT",
"connection": "keep-alive",
"keep-alive": "timeout=72"
}
Body: {
"statusCode": 401,
"message": "Unauthorized request"
}
https://on.cypress.io/request
at <unknown> (http://localhost:44153/__cypress/runner/cypress_runner.js:144155:80)
at tryCatcher (http://localhost:44153/__cypress/runner/cypress_runner.js:11318:23)
at Promise._settlePromiseFromHandler (http://localhost:44153/__cypress/runner/cypress_runner.js:9253:31)
at Promise._settlePromise (http://localhost:44153/__cypress/runner/cypress_runner.js:9310:18)
at Promise._settlePromise0 (http://localhost:44153/__cypress/runner/cypress_runner.js:9355:10)
at Promise._settlePromises (http://localhost:44153/__cypress/runner/cypress_runner.js:9435:18)
at _drainQueueStep (http://localhost:44153/__cypress/runner/cypress_runner.js:6025:12)
at _drainQueue (http://localhost:44153/__cypress/runner/cypress_runner.js:6018:9)
at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:44153/__cypress/runner/cypress_runner.js:6034:5)
at Async.drainQueues (http://localhost:44153/__cypress/runner/cypress_runner.js:5904:14)
From Your Spec Code:
at Object.getAccessToken (webpack:///./cypress/support/authorization.js:6:14)
at Context.eval (webpack:///./cypress/e2e/api-tests/005_profiles/setCredsAndLinkToSRByInstaller.cy.js:10:22)
Check warning on line 0 in "before all" hook for "Get all tokens"
github-actions / Test Results
Tokens "before all" hook for "Get all tokens" ("before all" hook for "Get all tokens") failed
e2e-tests/cypress/test_results/junit/a41ae03a383da20a49d70dda63a04bdb.xml [took 0s]
Raw output
`cy.request()` failed on: http://localhost:3002/demo/registered-users The response we received from your web server was: > 500: Internal Server Error This was considered a failure because the status code was not `2xx` or `3xx`. If you do not want status codes to cause failures pass the option: `failOnStatusCode: false` ----------------------------------------------------------- The request we sent was: Method: GET URL: http://localhost:3002/demo/registered-users Headers: { "Connection": "keep-alive", "user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/132.0.0.0 Safari/537.36", "accept": "*/*", "accept-encoding": "gzip, deflate" } ----------------------------------------------------------- The response we got was: Status: 500 - Internal Server Error Headers: { "content-type": "application/json; charset=utf-8", "content-length": "88", "date": "Thu, 23 Jan 2025 20:12:05 GMT", "connection": "keep-alive", "keep-alive": "timeout=72" } Body: { "statusCode": 500, "message": "FileNotFound: file 6792a29582d5ab34ccfe6083 was not found" } https://on.cypress.io/request Because this error occurred during a `before all` hook we are skipping all of the remaining tests.
CypressError: `cy.request()` failed on:
http://localhost:3002/demo/registered-users
The response we received from your web server was:
> 500: Internal Server Error
This was considered a failure because the status code was not `2xx` or `3xx`.
If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
-----------------------------------------------------------
The request we sent was:
Method: GET
URL: http://localhost:3002/demo/registered-users
Headers: {
"Connection": "keep-alive",
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/132.0.0.0 Safari/537.36",
"accept": "*/*",
"accept-encoding": "gzip, deflate"
}
-----------------------------------------------------------
The response we got was:
Status: 500 - Internal Server Error
Headers: {
"content-type": "application/json; charset=utf-8",
"content-length": "88",
"date": "Thu, 23 Jan 2025 20:12:05 GMT",
"connection": "keep-alive",
"keep-alive": "timeout=72"
}
Body: {
"statusCode": 500,
"message": "FileNotFound: file 6792a29582d5ab34ccfe6083 was not found"
}
https://on.cypress.io/request
Because this error occurred during a `before all` hook we are skipping all of the remaining tests.
at <unknown> (http://localhost:44153/__cypress/runner/cypress_runner.js:144155:80)
at tryCatcher (http://localhost:44153/__cypress/runner/cypress_runner.js:11318:23)
at Promise._settlePromiseFromHandler (http://localhost:44153/__cypress/runner/cypress_runner.js:9253:31)
at Promise._settlePromise (http://localhost:44153/__cypress/runner/cypress_runner.js:9310:18)
at Promise._settlePromise0 (http://localhost:44153/__cypress/runner/cypress_runner.js:9355:10)
at Promise._settlePromises (http://localhost:44153/__cypress/runner/cypress_runner.js:9435:18)
at _drainQueueStep (http://localhost:44153/__cypress/runner/cypress_runner.js:6025:12)
at _drainQueue (http://localhost:44153/__cypress/runner/cypress_runner.js:6018:9)
at ../../node_modules/bluebird/js/release/async.js.Async._drainQueues (http://localhost:44153/__cypress/runner/cypress_runner.js:6034:5)
at Async.drainQueues (http://localhost:44153/__cypress/runner/cypress_runner.js:5904:14)
From Your Spec Code:
at Context.eval (webpack:///./cypress/support/e2e.js:45:7)
Loading