Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backend] Implement Karate tests for escrow_api_calls table #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jagadeeshftw
Copy link

@Jagadeeshftw Jagadeeshftw commented Jan 25, 2025

closes #83

@sotoJ24 sotoJ24 self-requested a review January 25, 2025 16:26
Copy link
Contributor

@sotoJ24 sotoJ24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dear @Jagadeeshftw, the test show me the following errors:
Screenshot 2025-01-25 204509

02:44:19.042 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:12
Then status 201
status code was: 404, expected: 201, response time in milliseconds: 10, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/create, response: 
{"error":"resource does not exist","path":"$","code":"not-found"}
tests/karate/features/escrow_api_calls/escrow_api_calls.feature:12

02:44:19.097 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:21
Then status 200
status code was: 404, expected: 200, response time in milliseconds: 6, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/status, response: 
{"error":"resource does not exist","path":"$","code":"not-found"}
tests/karate/features/escrow_api_calls/escrow_api_calls.feature:21

02:44:19.132 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:30 Then status 200 status code was: 500, expected: 200, response time in milliseconds: 10, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/update, response: {"error":"Internal Server Error","path":"$","code":"unexpected"} tests/karate/features/escrow_api_calls/escrow_api_calls.feature:30

02:44:19.170 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:39 Then status 204 status code was: 500, expected: 204, response time in milliseconds: 4, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/cancel, response: {"error":"Internal Server Error","path":"$","code":"unexpected"} tests/karate/features/escrow_api_calls/escrow_api_calls.feature:39

02:44:19.197 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:45 Then status 200 status code was: 404, expected: 200, response time in milliseconds: 4, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/list, response: {"error":"resource does not exist","path":"$","code":"not-found"} tests/karate/features/escrow_api_calls/escrow_api_calls.feature:45

02:44:19.227 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:54 Then status 400 status code was: 404, expected: 400, response time in milliseconds: 10, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/create, response: {"error":"resource does not exist","path":"$","code":"not-found"} tests/karate/features/escrow_api_calls/escrow_api_calls.feature:54

02:44:19.263 tests/karate/features/escrow_api_calls/escrow_api_calls.feature:64 Then status 500 status code was: 404, expected: 500, response time in milliseconds: 5, url: http://graphql-engine-test:8080/v1/graphql/api/escrow/status, response: {"error":"resource does not exist","path":"$","code":"not-found"} tests/karate/features/escrow_api_calls/escrow_api_calls.feature:64

@sotoJ24
Copy link
Contributor

sotoJ24 commented Jan 26, 2025

And could you please make sure to follow the Git Guidelines for Atomic Commits and read Contributing Guide
The Pull request needs to have the format mentioned below in the Git Guideline

Contributing Guide
Git Guidelines

@zleypner
Copy link
Contributor

Hello @Jagadeeshftw, your PR must have the PR template in order to be merged. Please update it.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Backend] Implement Karate tests for escrow_api_calls table
3 participants