Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] - Adding test to login new user using upper case password in the existing testcase #10105

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions cfme/tests/configure/test_access_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion cfme/tests/integration/test_db_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
]


Expand Down Expand Up @@ -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):
"""
Expand Down