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

Complete E2E tests of lib microservice #218

Closed
prasadtalasila opened this issue Oct 27, 2023 · 2 comments
Closed

Complete E2E tests of lib microservice #218

prasadtalasila opened this issue Oct 27, 2023 · 2 comments
Labels
student part of student projects

Comments

@prasadtalasila
Copy link
Contributor

prasadtalasila commented Oct 27, 2023

To achieve:

  1. Write end-to-end (E2E) tests for library microservice and put them in top-level test/ directory.
  2. Make this test work in lib-ms.yml github action.
  3. Make the test work with traefik both on a developer computer and in github action.

Use supertest for testing HTTP form of requests and apollo graphql client for GraphQL requests.

@prasadtalasila prasadtalasila added the student part of student projects label Nov 2, 2023
@prasadtalasila prasadtalasila added this to the Release v0.4.0 milestone Nov 8, 2023
@prasadtalasila
Copy link
Contributor Author

The existing E2E tests of lib microservices fail with or without Traefik gateway. The reason for failure is the change in either the REST API or the GraphQL of Gitlab. The failure is not due to any new code introduced since release-v0.2. The code fails retrospectively for all the past releases of lib microservice as well.
PR #326 contains structural improvements to the end-to-end tests but the tests still fail.

@prasadtalasila prasadtalasila added the future work to be done in future label Jan 6, 2024
@prasadtalasila
Copy link
Contributor Author

The end-to-end tests have been completed without Traefik. The end-to-end tests of the full application will be taken up later.

@prasadtalasila prasadtalasila removed the future work to be done in future label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
student part of student projects
Projects
None yet
Development

No branches or pull requests

1 participant