chore: verifications of dots in password field commented for now

This commit is contained in:
Valentina Novgorodtceva 2024-02-28 16:26:27 +07:00 committed by Anastasiya
parent ca6e8f12c1
commit 2fc228732e
1 changed files with 6 additions and 3 deletions

View File

@ -61,13 +61,15 @@ def test_check_password_strength_and_login(keys_screen, main_window, user_accoun
assert create_password_view.get_password_from_first_field(0) == expected_password
create_password_view.click_hide_icon(0)
assert create_password_view.get_password_from_first_field(2) == '●●●●●●●●●●'
# we decided to comment it because this verification is not stable (always different format of dots)
# assert create_password_view.get_password_from_first_field(2) == '●●●●●●●●●●'
create_password_view.click_show_icon(1)
assert create_password_view.get_password_from_confirmation_field(0) == expected_password
create_password_view.click_hide_icon(0)
assert create_password_view.get_password_from_confirmation_field(2) == '●●●●●●●●●●'
# we decided to comment it because this verification is not stable (always different format of dots)
# assert create_password_view.get_password_from_confirmation_field(2) == '●●●●●●●●●●'
with step('Confirm creation of password and set password in confirmation again field'):
confirm_password_view = create_password_view.click_create_password()
@ -82,4 +84,5 @@ def test_check_password_strength_and_login(keys_screen, main_window, user_accoun
with step('Click show icon to hide password and check that there are dots instead'):
create_password_view.click_hide_icon(0)
assert confirm_password_view.get_password_from_confirmation_again_field(2) == '●●●●●●●●●●'
# we decided to comment it because this verification is not stable (always different format of dots)
# assert confirm_password_view.get_password_from_confirmation_again_field(2) == '●●●●●●●●●●'