From 8b65d1ca43fe25a7fdcad04263b1d9c2f35f3e01 Mon Sep 17 00:00:00 2001 From: Anastasiya Semenkevich Date: Fri, 15 Dec 2023 18:15:07 +0300 Subject: [PATCH] chore: mark password change test as flaky Reason: https://github.com/status-im/status-desktop/issues/13013 --- test/e2e/gui/components/change_password_popup.py | 2 +- .../settings_profile/test_settings_profile_change_password.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/gui/components/change_password_popup.py b/test/e2e/gui/components/change_password_popup.py index b2234bbd95..bf994a7696 100644 --- a/test/e2e/gui/components/change_password_popup.py +++ b/test/e2e/gui/components/change_password_popup.py @@ -37,5 +37,5 @@ class ChangePasswordPopup(BasePopup): assert driver.waitFor(lambda: self._quit_button.is_visible, 15000), \ f'Sign out and quit button is not visible within 15 seconds' self._quit_button.click() - except Exception as ex: + except (Exception, AssertionError) as ex: raise ex diff --git a/test/e2e/tests/settings/settings_profile/test_settings_profile_change_password.py b/test/e2e/tests/settings/settings_profile/test_settings_profile_change_password.py index 00e43b913d..24123b5fb4 100644 --- a/test/e2e/tests/settings/settings_profile/test_settings_profile_change_password.py +++ b/test/e2e/tests/settings/settings_profile/test_settings_profile_change_password.py @@ -18,6 +18,8 @@ pytestmark = marks @pytest.mark.parametrize('user_account, user_account_changed_password', [pytest.param(constants.user.user_account_one, constants.user.user_account_one_changed_password)]) +@pytest.mark.flaky +# reason = 'https://github.com/status-im/status-desktop/issues/13013 def test_change_password_and_login(aut: AUT, main_screen: MainWindow, user_account, user_account_changed_password): with step('Open profile settings'): settings_scr = main_screen.left_panel.open_settings().left_panel.open_profile_settings()