From fd763df5462f7300c2ecfe7fd8c7d38307f3f1d0 Mon Sep 17 00:00:00 2001 From: Christian Cueni Date: Mon, 21 Oct 2024 11:37:10 +0200 Subject: [PATCH] Add minimal test user info --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96526a1d..82882deb 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,25 @@ graphql schema. - What about the generated types from `codegen`? Hand written types seem to be better. - The functions in `cacheExchange` should be nearer the concrete implementation... -## Load prod data for testing +## Test users +### Local development +If `prepare_server.sh` was run, the following users are available (password: `test` and found in `create_default_users.py`): + +- Trainer + - test-trainer1@example.com + - test-trainer2@example.com +- Teilnehmer + - test-student1@example.com + - test-student2@example.com + - test-student3@example.com +- Regionenleiter + - test-supervisor1@example.com +- Berufsbildner + - test-berufsbildner1@example.com +- Ausbildungsverantwortlicher + - test-ausbildungsverantwortlicher1@example.com + +### Load prod data for local testing 1. Checkout the [vbv-devops](https://bitbucket.org/iterativ/iterativ-devops/src/master/) repository 2. Change into the `backups` directory @@ -306,3 +324,6 @@ graphql schema. for csu in CourseSessionUser.objects.all(): csu.user.set_password("test") ``` +### Test users on production +On production there are CourseSessions in the VV and üK courses with test users. The data can be rested via the admin +interface ("Iterativ Testdurchführungen zurücksetzen"). All users use local login and can be found in 1password.