From 9fccdd425931d273798baf9223a3d948aa9af567 Mon Sep 17 00:00:00 2001 From: dgaikwad Date: Sun, 10 May 2020 20:52:43 +0530 Subject: [PATCH] Adding test to login SSUI using capital upper case password --- cfme/tests/configure/test_access_control.py | 22 --------------------- cfme/tests/integration/test_db_auth.py | 4 +++- 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/cfme/tests/configure/test_access_control.py b/cfme/tests/configure/test_access_control.py index 8084f35573..a99b211a26 100644 --- a/cfme/tests/configure/test_access_control.py +++ b/cfme/tests/configure/test_access_control.py @@ -2558,28 +2558,6 @@ def test_requests_in_ui_and_api(): pass -@pytest.mark.manual -@test_requirements.rbac -@pytest.mark.tier(2) -def test_authorized_users_can_login(): - """ - Verify that authorized users can login successfully with a valid password - - Polarion: - assignee: dgaikwad - casecomponent: Appliance - caseimportance: critical - initialEstimate: 1/8h - testSteps: - 1. As admin, create a user with password with uppercase letters - 2. Login with created user - expectedResults: - 1. User created - 2. User logged in - """ - pass - - @pytest.mark.manual @test_requirements.rbac @pytest.mark.tier(2) diff --git a/cfme/tests/integration/test_db_auth.py b/cfme/tests/integration/test_db_auth.py index fd9c1c4ae6..623fd56f53 100644 --- a/cfme/tests/integration/test_db_auth.py +++ b/cfme/tests/integration/test_db_auth.py @@ -17,6 +17,7 @@ f"$#!{fauxfactory.gen_alpha()}", # spec char f"{fauxfactory.gen_alpha(17)}", # pw > 16 char "", # blank + fauxfactory.gen_alpha().upper(), # uppercase char ] @@ -50,7 +51,8 @@ def nonexistent_user(appliance): @pytest.mark.parametrize( "pwd", TEST_PASSWORDS, - ids=["trailing_whitspace", "leading_whitespace", "spec_char", "gt_16char", "blank"] + ids=["trailing_whitspace", "leading_whitespace", "spec_char", "gt_16char", + "blank", "upper_case"] ) def test_db_user_pwd(appliance, user, pwd, soft_assert): """