Adapt password expiration notification to new navigation

https://fedorahosted.org/freeipa/ticket/3902
This commit is contained in:
Petr Vobornik
2013-10-16 19:55:42 +02:00
committed by Martin Kosek
parent a0d3d5a295
commit 77a56b7f87
5 changed files with 16 additions and 18 deletions

View File

@@ -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