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

Add test cases to cover full Console API surface (functional testing) #719

Open
anilmurty opened this issue Jan 25, 2025 · 5 comments
Open

Comments

@anilmurty
Copy link

Current Functional (API) tests are https://github.com/akash-network/console/tree/main/apps/api/test/functional

This task is to add test cases for the rest of the endpoints listed here https://console-api.akash.network/v1/swagger (@ygrishajev is this up to date?)

@anilmurty anilmurty added this to the Automated Testing milestone Jan 25, 2025
@github-project-automation github-project-automation bot moved this to Backlog (not prioritized) in Client Product and Engineering Roadmap Jan 25, 2025
@anilmurty anilmurty moved this from Backlog (not prioritized) to Up Next (prioritized) in Client Product and Engineering Roadmap Jan 25, 2025
@baktun14
Copy link
Contributor

The endpoints in the swagger docs are public ones without auth.

I think the most important ones are the managed wallets api services like this one: https://github.com/akash-network/console/blob/main/apps/api/src/deployment/services/top-up-managed-deployments/top-up-managed-deployments.service.spec.ts

@ygrishajev
Copy link
Contributor

@baktun14 billing is mostly covered. do we want to specify some endpoints to start with?

@ygrishajev
Copy link
Contributor

I think stripe webhook might be a good start. wdut @baktun14 ?

@baktun14
Copy link
Contributor

Yea stripe webhook is a critical endpoint and good start @ygrishajev

@ygrishajev
Copy link
Contributor

great! @jzsfkzm this can be used for payload signature https://github.com/stripe/stripe-node?tab=readme-ov-file#testing-webhook-signing

jzsfkzm pushed a commit to jzsfkzm/console that referenced this issue Jan 29, 2025
jzsfkzm pushed a commit to jzsfkzm/console that referenced this issue Jan 29, 2025
jzsfkzm pushed a commit to jzsfkzm/console that referenced this issue Jan 29, 2025
jzsfkzm pushed a commit to jzsfkzm/console that referenced this issue Jan 29, 2025
jzsfkzm added a commit to jzsfkzm/console that referenced this issue Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Up Next (prioritized)
Development

No branches or pull requests

3 participants