This pr revamps the testing trait to create test users based on a testUsers.json file added to the root of the project/src folder. If there isn't a testUsers.json file in the project folder the testUsers.json file in the dktl root folder will be used.
The ProjectCommands.php was also updated to create the test users before cypress runs then delete the test users after cypress tests are completed.
There are also 2 new commands added if you want to create/delete test users without running cypress. They are:
dkan:create-test-users alias qaucdkan:delete-test-users alias qaud
This pr revamps the testing trait to create test users based on a testUsers.json file added to the root of the project/src folder. If there isn't a testUsers.json file in the project folder the testUsers.json file in the dktl root folder will be used.
The ProjectCommands.php was also updated to create the test users before cypress runs then delete the test users after cypress tests are completed.
There are also 2 new commands added if you want to create/delete test users without running cypress. They are:
dkan:create-test-users
aliasqauc
dkan:delete-test-users
aliasqaud