7e1b55
From 40e4ccf1ea943aba4d10e8126ffa49feddd2e683 Mon Sep 17 00:00:00 2001
7e1b55
From: Florence Blanc-Renaud <flo@redhat.com>
7e1b55
Date: Tue, 13 Jul 2021 18:38:22 +0200
7e1b55
Subject: [PATCH] webui tests: close notification when revoking cert
7e1b55
7e1b55
When a cert is revoked, a notification is displayed
7e1b55
and may obscure the buttons. Make sure to close the
7e1b55
notification before moving to the next step.
7e1b55
7e1b55
Fixes: https://pagure.io/freeipa/issue/8911
7e1b55
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
7e1b55
Reviewed-By: Mohammad Rizwan <myusuf@redhat.com>
7e1b55
---
7e1b55
 ipatests/test_webui/test_cert.py | 1 +
7e1b55
 1 file changed, 1 insertion(+)
7e1b55
7e1b55
diff --git a/ipatests/test_webui/test_cert.py b/ipatests/test_webui/test_cert.py
7e1b55
index 53dc76faa..7a8ffde91 100644
7e1b55
--- a/ipatests/test_webui/test_cert.py
7e1b55
+++ b/ipatests/test_webui/test_cert.py
7e1b55
@@ -107,6 +107,7 @@ class test_cert(UI_driver):
7e1b55
         self.action_list_action('revoke_cert', False)
7e1b55
         self.select('select[name=revocation_reason]', reason)
7e1b55
         self.dialog_button_click('ok')
7e1b55
+        self.close_notifications()
7e1b55
         self.navigate_to_entity(ENTITY)
7e1b55
 
7e1b55
         return cert
7e1b55
-- 
7e1b55
2.31.1
7e1b55