diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-04-29 09:16:24 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-05-12 18:52:58 +0200 |
commit | 6d618853a4d519c8671e2e38f1aaa290a6d62b83 (patch) | |
tree | c895eda8f8087f957e89215479c54fa31c4645a1 /ipatests/test_webui/test_hbac.py | |
parent | 6a61378586eb51eaa271ce492566309b0f68de59 (diff) | |
download | freeipa-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_hbac.py')
-rw-r--r-- | ipatests/test_webui/test_hbac.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipatests/test_webui/test_hbac.py b/ipatests/test_webui/test_hbac.py index 7b283e6a3..c497a2acb 100644 --- a/ipatests/test_webui/test_hbac.py +++ b/ipatests/test_webui/test_hbac.py @@ -22,12 +22,14 @@ HBAC tests """ from ipatests.test_webui.ui_driver import UI_driver +from ipatests.test_webui.ui_driver import screenshot import ipatests.test_webui.data_hbac as hbac import ipatests.test_webui.data_hostgroup as hostgroup class test_hbac(UI_driver): + @screenshot def test_crud(self): """ Basic CRUD: hbac @@ -38,6 +40,7 @@ class test_hbac(UI_driver): self.basic_crud(hbac.SVCGROUP_ENTITY, hbac.SVCGROUP_DATA, default_facet=hbac.SVCGROUP_DEF_FACET) + @screenshot def test_mod(self): """ Mod: hbac @@ -72,6 +75,7 @@ class test_hbac(UI_driver): self.delete(hbac.RULE_ENTITY, [hbac.RULE_DATA]) self.delete(hostgroup.ENTITY, [hostgroup.DATA]) + @screenshot def test_actions(self): """ Test hbac rule actions @@ -85,6 +89,7 @@ class test_hbac(UI_driver): self.enable_action() self.delete_action(hbac.RULE_ENTITY, hbac.RULE_PKEY) + @screenshot def test_hbac_test(self): """ Test HBAC test UI |