Smoke tests for UI

This PR includes smoke tests for UI.

What is done:
- updated `ui.factory` to create entities like lifecycle_env, repository and content_view
- added a fn `admin_role_to_user` to validate and assign admin rights to a user
- All tests are working

Known Issue: 
Currently all smoke tests are executed with admin user. I created a user and assign admin permissions to it but UI doesn't authenticate user created via auto. A issue #1152 is already filed to track it.
Docstring doesn't match the contents of the test.