From 4a71d1dc4c229f8721a1c94c032f7fe90046ed43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Va=C5=A1ina?= Date: Thu, 19 Sep 2024 16:02:04 +0200 Subject: [PATCH] Fix change assigned content entity (#1566) (cherry picked from commit 8b77d61b746e386046e7a00f059c578a501a1a51) --- 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()