Can't admin user, project and api key programmatically while configuring a test env for E2E test
- 0
- Self Hosted
- General
- Web
- REST API
Hi there, I’ve been trying to setup a test environment for my project to support tests at all levels of the test pyramid including unit, integration and end to end tests. After doing some research I have to spin up a local appwrite instance for my tests. I’ve managed to spin up the local instance. However, I’m having some concerns with how the setup and teardown of the testing environment. There is no way for me to create an admin user, organisation, project and project api key (with scopes) so that I can the server sdk except through the console ( user interface ). Therefore, I’d like to inquire whether there’s any way to automate this because it would be handy during setup and teardown of my test environment. If that cannot work, I’d like an alternative approach. I've done some research about the console SDK but unfortunately it isn't available for appwrite
Recommended threads
- Self-host migration from 1.8.X
Is it safe to now migrate from 1.7.4 to 1.8.X on my selfhost?
- DeploymentStatus enum value `canceled` m...
Hey, Sorry if it has been reported already, I found an issue using the Dart SDK where the `canceled` enum value is missing from `DeploymentStatus`. This causes...
- payment
I’ve never used this service. I remember signing up a long time ago but completely forgot about it. I’ve been receiving emails, but since the payments were fai...