Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipatests: webui: test_host.py Fix expected item visibility #5110

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .freeipa-pr-ci.yaml
4 changes: 2 additions & 2 deletions ipatests/prci_definitions/temp_commit.yaml
Expand Up @@ -65,10 +65,10 @@ jobs:
requires: [fedora-latest/build]
priority: 50
job:
class: RunPytest
class: RunWebuiTests
args:
build_url: '{fedora-latest/build_url}'
test_suite: test_integration/test_REPLACEME.py
test_suite: test_webui/test_host.py
template: *ci-master-latest
timeout: 3600
topology: *master_1repl_1client
3 changes: 2 additions & 1 deletion ipatests/test_webui/test_host.py
Expand Up @@ -324,7 +324,8 @@ def test_ca_less(self):
self.add_record(ENTITY, self.data)
self.navigate_to_record(self.pkey)

self.assert_action_list_action('request_cert', visible=False)
self.assert_action_list_action('request_cert', visible=True,
enabled=False)

self.navigate_by_breadcrumb('Hosts')
self.delete_record(self.pkey, self.data.get('del'))
Expand Down
3 changes: 2 additions & 1 deletion ipatests/test_webui/test_service.py
Expand Up @@ -359,7 +359,8 @@ def test_ca_less(self):
self.add_record(ENTITY, data)
self.navigate_to_record(pkey)

self.assert_action_list_action('request_cert', visible=False)
self.assert_action_list_action('request_cert', visible=True,
enabled=False)

self.navigate_by_breadcrumb('Services')
self.delete_record(pkey, data.get('del'))
Expand Down