[QA] run tests with existing users
We need to make it possible to run tests with predefined users.
we need to modify the test code so that
- test gets users from config file or any other way
- test runs without admin user
- If we are running test with predefined user do not try to delete them.
- after hooks should only delete resources that tests creates.
If we are running test with predefined user do not try to delete them.
When I am running E2E tests while having users used in tests already created, the tests are failing for me when trying to create them again. Would this solve it? Or should I open a separate ticket for this?
My current workaround is simply having users with different values then those used in tests.
yes this would solve it because we would skip the user creation.
the tests are failing for me when trying to create them again
it usually happens if the test is terminated before executing the cleanup step.