Skip to content

Commit

Permalink
Adding new func for multi repo override (#1120) (#1127)
Browse files Browse the repository at this point in the history
(cherry picked from commit 13c59ba)

Co-authored-by: Cole Higgins <[email protected]>
  • Loading branch information
Satellite-QE and ColeHiggins2 authored Jan 15, 2024
1 parent a6c5bd2 commit 4ba7370
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions airgun/entities/host_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4ba7370

Please sign in to comment.