We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6f3ab0 commit 2042a0eCopy full SHA for 2042a0e
tests/foreman/ui/test_rhcloud_iop.py
@@ -340,6 +340,10 @@ def test_iop_recommendations_remediation_type_and_status(
340
result = session.recommendationstab.apply_filter("Status", "Enabled")
341
assert len(result) > 0
342
343
- # Verify that Disabled recommnedations are 0
+ # Disable recommendation
344
+ session.recommendationstab.disable_recommendation_for_system(
345
+ recommendation_name=OPENSSH_RECOMMENDATION, hostname=rhel_insights_vm.hostname
346
+ )
347
+ # Verify that the disabled recommendation is filtered
348
result = session.recommendationstab.apply_filter("Status", "Disabled")
- assert 'No recommendations' in result[0]['Name']
349
+ assert 'Decreased security: OpenSSH config permissions' in result[0]['Name']
0 commit comments