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

[bug]: Keploy server throws error when clicked on cross button of the test runs #359

Closed
1 task done
Sarthak160 opened this issue Oct 3, 2022 · 0 comments
Closed
1 task done
Labels
bug Something isn't working Good First Issue Good for newcomers Hacktoberfest HACKTOBERFEST2022 Repo/@ui Issue Related to Keploy UI Repository

Comments

@Sarthak160
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I am using latest image for the keploy UI and when I click on the cross button it is showing following stacktrace -
keploy_1 | 2022-10-03T09:47:36.199Z ERROR regression/regression.go:116 failed to get testcases from the DB {"cid": "default_company", "appID": "", "error": "mongo: no documents in result"} keploy_1 | go.keploy.io/server/pkg/service/regression.(*Regression).Get keploy_1 | /app/pkg/service/regression/regression.go:116 keploy_1 | go.keploy.io/server/graph.(*queryResolver).TestCase keploy_1 | /app/graph/schema.resolvers.go:149 keploy_1 | go.keploy.io/server/graph/generated.(*executionContext)._Query_testCase.func2 keploy_1 | /app/graph/generated/generated.go:2959 keploy_1 | github.com/99designs/gqlgen/graphql/executor.processExtensions.func4 keploy_1 | /go/pkg/mod/github.com/99designs/gqlgen@v0.15.1/graphql/executor/extensions.go:72 keploy_1 | go.keploy.io/server/graph/generated.(*executionContext)._Query_testCase keploy_1 | /app/graph/generated/generated.go:2957 keploy_1 | go.keploy.io/server/graph/generated.(*executionContext)._Query.func7 keploy_1 | /app/graph/generated/generated.go:6507 keploy_1 | github.com/99designs/gqlgen/graphql/executor.processExtensions.func3 keploy_1 | /go/pkg/mod/github.com/99designs/gqlgen@v0.15.1/graphql/executor/extensions.go:69 keploy_1 | go.keploy.io/server/graph/generated.(*executionContext)._Query.func8 keploy_1 | /app/graph/generated/generated.go:6512 keploy_1 | go.keploy.io/server/graph/generated.(*executionContext)._Query.func9 keploy_1 | /app/graph/generated/generated.go:6516

Screenshot 2022-10-03 at 3 11 33 PM

Screenshot 2022-10-03 at 3 18 29 PM

Steps to reproduce

  1. Use latest UI build for keploy
  2. Record some testcases
  3. Run them on test mode
  4. Open the detailed view for any testcases
  5. Click on the cross button for exiting the detailed view .

PS - You will see the above error caused due to execution of query for getting testcase which is unnecessary .

Environment

No response

Version

Local

@Sarthak160 Sarthak160 added the bug Something isn't working label Oct 3, 2022
@Sarthak160 Sarthak160 changed the title [bug]: Keploy server throws error when clicked on cross button of the test runs . [bug]: Keploy server throws error when clicked on cross button of the test runs Oct 3, 2022
@Sarthak160 Sarthak160 added the Good First Issue Good for newcomers label Oct 12, 2022
@AnkitKumarvaid AnkitKumarvaid transferred this issue from keploy/ui Mar 3, 2023
@AnkitKumarvaid AnkitKumarvaid added the Repo/@ui Issue Related to Keploy UI Repository label Mar 3, 2023
@nehagup nehagup closed this as completed Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Good First Issue Good for newcomers Hacktoberfest HACKTOBERFEST2022 Repo/@ui Issue Related to Keploy UI Repository
Projects
None yet
Development

No branches or pull requests

3 participants