summaryrefslogtreecommitdiffstats
path: root/ipatests
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-08-05 12:22:47 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-08-20 10:42:57 +0200
commita3c51e2383a0abc6ab09537734187f67356fea0b (patch)
treeac18ed6a73d3f2013d635ed4835023858dcb1259 /ipatests
parente995d2b827cae875245a479ee0a090c546f2858e (diff)
downloadfreeipa-a3c51e2383a0abc6ab09537734187f67356fea0b.tar.gz
freeipa-a3c51e2383a0abc6ab09537734187f67356fea0b.tar.xz
freeipa-a3c51e2383a0abc6ab09537734187f67356fea0b.zip
webui-ci: fix table widget add
add_table_record call used old selector for add button which caused 3 fails in CI: - ERROR: Test automember rebuild membership feature for hosts - ERROR: Test automember rebuild membership feature for users - ERROR: Basic CRUD: dns related to: https://fedorahosted.org/freeipa/ticket/4258 Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'ipatests')
-rw-r--r--ipatests/test_webui/ui_driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_webui/ui_driver.py b/ipatests/test_webui/ui_driver.py
index e223b962d..9819260ba 100644
--- a/ipatests/test_webui/ui_driver.py
+++ b/ipatests/test_webui/ui_driver.py
@@ -1326,7 +1326,7 @@ class UI_driver(object):
parent = self.get_form()
s = self.get_table_selector(name)
table = self.find(s, By.CSS_SELECTOR, parent, strict=True)
- s = "a[name=%s].button" % 'add'
+ s = ".btn[name=%s]" % 'add'
btn = self.find(s, By.CSS_SELECTOR, table, strict=True)
btn.click()
self.wait()