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

Commit

Permalink
Merge pull request #10105 from dgaikwad/test_authorized_users_can_log…
Browse files Browse the repository at this point in the history
…in_password_upper

[1LP][RFR] - Adding test to login new user using upper case password in the existing testcase
  • Loading branch information
mshriver authored May 18, 2020
2 parents 2a65fe4 + 9fccdd4 commit 88c4f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
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 @@ -2560,28 +2560,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

0 comments on commit 88c4f4b

Please sign in to comment.