#8288 Nightly test failure in testing_master_previous: test_webui/test_loginscreen.py::TestLoginScreen::test_reset_password_and_login_view
Closed: duplicate 4 years ago by frenaud. Opened 4 years ago by fcami.

testing_master_previous PR #4579,
logs
Extract:

self = <ipatests.test_webui.test_loginscreen.TestLoginScreen object at 0x7f495d945a50>

    @screenshot
    def test_reset_password_and_login_view(self):

>       self.load_reset_and_login_view()

test_webui/test_loginscreen.py:366: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test_webui/test_loginscreen.py:287: in load_reset_and_login_view
    'Your password has expired. Please enter a new password.'
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <ipatests.test_webui.test_loginscreen.TestLoginScreen object at 0x7f495d945a50>
type = 'info'
assert_text = 'Your password has expired. Please enter a new password.'
link_text = None, link_url = None

    def assert_notification(self, type='success', assert_text=None,
                            link_text=None, link_url=None):
        """
        Assert whether we have a notification of particular type
        """

        notification_type = 'div.validation-summary .alert-{}'.format(type)
        # wait for a half sec for notification to appear
        self.wait(0.5)
        is_present = self.find(notification_type, By.CSS_SELECTOR)
        # Notification not present
>       assert is_present
E       assert None

test_webui/test_loginscreen.py:73: AssertionError

Metadata Update from @frenaud:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata