From 77a56b7f875100de2c0803b5b23098bdb2715adb Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 16 Oct 2013 19:55:42 +0200 Subject: Adapt password expiration notification to new navigation https://fedorahosted.org/freeipa/ticket/3902 --- ipatests/test_webui/test_user.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ipatests/test_webui/test_user.py') diff --git a/ipatests/test_webui/test_user.py b/ipatests/test_webui/test_user.py index eb513418..e85a9cba 100644 --- a/ipatests/test_webui/test_user.py +++ b/ipatests/test_webui/test_user.py @@ -198,12 +198,11 @@ class test_user(UI_driver): header = self.find('.header', By.CSS_SELECTOR) self.assert_text( '.header-passwordexpires', - 'Your password expires in 6 days. Reset your password.', + 'Your password expires in 6 days.', header) # test password reset - link = self.find('.header-passwordexpires a', By.CSS_SELECTOR, strict=True) - link.click() + self.profile_menu_action('password_reset') self.fill_password_dialog(pwd, pwd) # cleanup -- cgit