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

Server backend E2E testing #1385

Open
gjedlicska opened this issue Feb 17, 2023 · 0 comments
Open

Server backend E2E testing #1385

gjedlicska opened this issue Feb 17, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request question

Comments

@gjedlicska
Copy link
Contributor

Our current automated testing strategy only covers the server component.
This causes some uncertainty in the team resulting in increased manual testing time needed when upgrading components like the file import service or the preview service.

The conceptual workflow below would cover a very big portion of the current server backend functionalities:

  • create a new user on the server
  • create a new stream
  • create a basic webhook and register a local listener
  • subscribe to various events ( branch, commit create etc)
  • trigger a file import
  • wait for the file import to finish, verify the created commit root object id to a pre-baked object id
  • wait for the preview of the commit to be generated (prob its too hard to verify the content)
  • verify the results of the subscriptions
  • wait for the register webhook callbacks and verify their content
  • delete the stream

This workflow could be implemented with one of our SDKs and as a stretch goal could also be turned into an automated K8s test job, which we run on every PR and newly deployed server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question
Projects
None yet
Development

No branches or pull requests

2 participants