platform/qms-tests/create-local.sh
JasminMus 387aecd12e
REQ-10 add test for roles and setup permissions (#6257)
Signed-off-by: Jasmin <jasmin@hardcoreeng.com>
2024-08-29 19:22:44 +04:00

19 lines
800 B
Bash
Executable File

# Create init workspace
./tool-local.sh create-workspace init-ws-qms -w InitTest
./tool-local.sh configure init-ws-qms --enable=*
./tool-local.sh configure init-ws-qms --list
# Create workspace record in accounts
./tool-local.sh create-workspace sanity-ws-qms -w SanityTest
# Create user record in accounts
./tool-local.sh create-account user1 -f John -l Appleseed -p 1234
./tool-local.sh confirm-email user1
# Create second user record in accounts
./tool-local.sh create-account user2 -f Kainin -l Dirak -p 1234
./tool-local.sh confirm-email user2
# Create third user record in accounts
./tool-local.sh create-account user3 -f Cain -l Velasquez -p 1234
./tool-local.sh confirm-email user3
./tool-local.sh create-account user_qara -f Qara -l Admin -p 1234
./tool-local.sh confirm-email user_qara