From 891c18490caee9685dca653c2958f60e6db02c60 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Thu, 19 Sep 2024 11:46:47 -0400 Subject: [PATCH] Fix change assigned content entity (#1566) (#1567) --- airgun/entities/hostcollection.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/airgun/entities/hostcollection.py b/airgun/entities/hostcollection.py index 1c12be815..4ea72ad22 100644 --- a/airgun/entities/hostcollection.py +++ b/airgun/entities/hostcollection.py @@ -240,9 +240,7 @@ def change_assigned_content(self, entity_name, lce, content_view): view.lce.fill({lce: True}) view.content_view.fill(content_view) view.assign.click() - self.browser.handle_alert() - view.flash.assert_no_error() - view.flash.dismiss() + view.dialog.confirm_dialog.click() task_view = HostCollectionActionTaskDetailsView(view.browser) task_view.progressbar.wait_for_result() return task_view.read()