mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
webui test: close notification after selinux user map update
The test test_undo_refresh_reset_update_cancel is sometimes failing because a notification obscures the selinuxmap record. After saving the modification on the record, close any notification to make sure the test succeeds. Fixes: https://pagure.io/freeipa/issue/8846 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Anuja More <amore@redhat.com>
This commit is contained in:
parent
2d534662c4
commit
563077c935
@ -356,6 +356,7 @@ class test_selinuxusermap(UI_driver):
|
||||
self.fill_fields(selinuxmap.DATA['mod'], undo=True)
|
||||
self.click_on_link('SELinux User Maps')
|
||||
self.dialog_button_click('save')
|
||||
self.close_notifications()
|
||||
self.navigate_to_record(selinuxmap.PKEY)
|
||||
self.verify_btn_action(mod_description, negative=True)
|
||||
self.wait_for_request(n=2)
|
||||
|
Loading…
Reference in New Issue
Block a user