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

Create e2e tests for /packages/api #327

Open
NicoSerranoP opened this issue Sep 5, 2024 · 3 comments
Open

Create e2e tests for /packages/api #327

NicoSerranoP opened this issue Sep 5, 2024 · 3 comments
Labels
good first issue Good for newcomers

Comments

@NicoSerranoP
Copy link
Member

NicoSerranoP commented Sep 5, 2024

Motivation

We are moving all the p0tion coordinator infrastructure to a single server application (API). This new API was built using NestJS and we are missing e2e tests (end-to-end tests).

Details

Write e2e tests for each route (endpoint) in the different modules (auth, ceremonies, circuits, participants, storage and users). Remember to check the following:

  1. There is some data (circuits, zkeys, etc) that could be used from @actions or duplicate it into /api
  2. We should be able to run the whole pipeline in normal scenarios (create, contribute, finalize)

Tutorial to setup the API Coordinator application

@NicoSerranoP NicoSerranoP added the good first issue Good for newcomers label Sep 5, 2024
@yuliaSharabi
Copy link

I'd like to take this issue @NicoSerranoP

@NicoSerranoP
Copy link
Member Author

NicoSerranoP commented Sep 23, 2024

I'd like to take this issue @NicoSerranoP

@yuliaSharabi Thank you very much! Please let me know if you need any help. You could follow some of the p0tion's documentation to generate the AWS .env variables you need: https://www.notion.so/pse-team/P0tion-c3e1b94be4214cb8998104c9bf30d7a8

@NicoSerranoP
Copy link
Member Author

@yuliaSharabi I just updated the issue description with a tutorial to deploy the API Coordinator application in case you need it

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

No branches or pull requests

2 participants