diff --git a/airgun/entities/host_new.py b/airgun/entities/host_new.py index c1202e8d7..109c0c5c8 100644 --- a/airgun/entities/host_new.py +++ b/airgun/entities/host_new.py @@ -355,6 +355,17 @@ def override_repo_sets(self, entity_name, repo_set, action): view.flash.assert_no_error() view.flash.dismiss() + def override_multiple_repo_sets(self, entity_name, repo_set, repo_type, action): + """Change override for multiple repository sets without using the Select All method""" + view = self.navigate_to(self, 'NewDetails', entity_name=entity_name) + view.wait_displayed() + self.browser.plugin.ensure_page_safe() + view.content.repository_sets.searchbar.fill(repo_set) + view.content.repository_sets.table[0][0].widget.click() + view.content.repository_sets.dropdown.item_select(action) + view.flash.assert_no_error() + view.flash.dismiss() + def bulk_override_repo_sets(self, entity_name, repo_type, action): """Change override for repository set""" view = self.navigate_to(self, 'NewDetails', entity_name=entity_name)