summaryrefslogtreecommitdiffstats
path: root/ipatests/test_webui/test_group.py
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2014-04-29 09:16:24 +0200
committerPetr Vobornik <pvoborni@redhat.com>2014-05-12 18:52:58 +0200
commit6d618853a4d519c8671e2e38f1aaa290a6d62b83 (patch)
treec895eda8f8087f957e89215479c54fa31c4645a1 /ipatests/test_webui/test_group.py
parent6a61378586eb51eaa271ce492566309b0f68de59 (diff)
downloadfreeipa-6d618853a4d519c8671e2e38f1aaa290a6d62b83.tar.gz
freeipa-6d618853a4d519c8671e2e38f1aaa290a6d62b83.tar.xz
freeipa-6d618853a4d519c8671e2e38f1aaa290a6d62b83.zip
webui-ci: decorate all webui tests with screenshot decorator
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'ipatests/test_webui/test_group.py')
-rw-r--r--ipatests/test_webui/test_group.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_webui/test_group.py b/ipatests/test_webui/test_group.py
index fb5a8363d..8f9229b02 100644
--- a/ipatests/test_webui/test_group.py
+++ b/ipatests/test_webui/test_group.py
@@ -22,6 +22,7 @@ Group tests
"""
from ipatests.test_webui.ui_driver import UI_driver
+from ipatests.test_webui.ui_driver import screenshot
import ipatests.test_webui.data_group as group
import ipatests.test_webui.data_user as user
import ipatests.test_webui.data_netgroup as netgroup
@@ -32,6 +33,7 @@ import ipatests.test_webui.data_sudo as sudo
class test_group(UI_driver):
+ @screenshot
def test_crud(self):
"""
Basic CRUD: group
@@ -40,6 +42,7 @@ class test_group(UI_driver):
self.basic_crud(group.ENTITY, group.DATA,
default_facet=group.DEFAULT_FACET)
+ @screenshot
def test_actions(self):
"""
Test group actions
@@ -79,6 +82,7 @@ class test_group(UI_driver):
self.assert_facet(entity, 'search')
self.assert_record(pkey, negative=True)
+ @screenshot
def test_associations(self):
"""
Test group associations
@@ -122,6 +126,7 @@ class test_group(UI_driver):
self.delete(hbac.RULE_ENTITY, [hbac.RULE_DATA])
self.delete(sudo.RULE_ENTITY, [sudo.RULE_DATA])
+ @screenshot
def test_indirect_associations(self):
"""
Group indirect associations