aboutsummaryrefslogtreecommitdiff
path: root/tests/e2e/credentials.ts
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2023-06-16 06:19:48 +0000
committerMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2023-06-16 06:19:48 +0000
commit91bd2c3e86f5fdaa5740ca536909ccd12f44b10e (patch)
tree9646026525934c02521b26b4de66f816c54b202b /tests/e2e/credentials.ts
parent94abf115a32671423c2ea0a8e37c83cecf1ff6e6 (diff)
Add playwright tests, refs #2635
Merge request studip/studip!1790
Diffstat (limited to 'tests/e2e/credentials.ts')
-rw-r--r--tests/e2e/credentials.ts22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/e2e/credentials.ts b/tests/e2e/credentials.ts
new file mode 100644
index 0000000..bfae3cc
--- /dev/null
+++ b/tests/e2e/credentials.ts
@@ -0,0 +1,22 @@
+export const credentials = {
+ root: {
+ username: process.env.PLAYWRIGHT_CREDENTIALS_ROOT_USERNAME ?? 'root@studip',
+ password: process.env.PLAYWRIGHT_CREDENTIALS_ROOT_PASSWORD ?? 'testing',
+ },
+ admin: {
+ username: process.env.PLAYWRIGHT_CREDENTIALS_ADMIN_USERNAME ?? 'test_admin',
+ password: process.env.PLAYWRIGHT_CREDENTIALS_ADMIN_PASSWORD ?? 'testing',
+ },
+ dozent: {
+ username: process.env.PLAYWRIGHT_CREDENTIALS_DOZENT_USERNAME ?? 'test_dozent',
+ password: process.env.PLAYWRIGHT_CREDENTIALS_DOZENT_PASSWORD ?? 'testing',
+ },
+ tutor: {
+ username: process.env.PLAYWRIGHT_CREDENTIALS_TUTOR_USERNAME ?? 'test_tutor',
+ password: process.env.PLAYWRIGHT_CREDENTIALS_TUTOR_PASSWORD ?? 'testing',
+ },
+ autor: {
+ username: process.env.PLAYWRIGHT_CREDENTIALS_AUTOR_USERNAME ?? 'test_autor',
+ password: process.env.PLAYWRIGHT_CREDENTIALS_AUTOR_PASSWORD ?? 'testing',
+ },
+};