summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-10-16 19:55:42 +0200
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:02 +0100
commit77a56b7f875100de2c0803b5b23098bdb2715adb (patch)
treea1fd512585561123c263fd533935065d1c74ad95 /ipatests/test_webui
parenta0d3d5a2954ffe0cfdf1a6057608f2995afba9b7 (diff)
downloadfreeipa-77a56b7f875100de2c0803b5b23098bdb2715adb.tar.gz
freeipa-77a56b7f875100de2c0803b5b23098bdb2715adb.tar.xz
freeipa-77a56b7f875100de2c0803b5b23098bdb2715adb.zip
Adapt password expiration notification to new navigation
https://fedorahosted.org/freeipa/ticket/3902
Diffstat (limited to 'ipatests/test_webui')
-rw-r--r--ipatests/test_webui/test_user.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ipatests/test_webui/test_user.py b/ipatests/test_webui/test_user.py
index eb5134188..e85a9cbad 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