Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
damoore044 committed May 23, 2024
1 parent bddf2b8 commit 311f200
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions airgun/entities/errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def install(self, entity_name, host_names):
:param str host_names: content host name to apply errata on
pass 'All' for any available hosts,
or pass a list of str hostnames,
or single str hostname.
or pass a single str hostname.
"""
view = self.navigate_to(
self,
Expand All @@ -80,8 +80,9 @@ def install(self, entity_name, host_names):
if host_names == "All":
# clear search to show all hosts, select_all
view.content_hosts.search(" ")
for row in view.content_hosts.table.row():
row[0].fill(True)
view.content_hosts.select_all.fill(True)
# for row in view.content_hosts.table.row():
# row[0].fill(True)
elif isinstance(host_names, list):
# clear search to show all hosts
view.content_hosts.search(" ")
Expand Down
1 change: 1 addition & 0 deletions airgun/views/errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class content_hosts(SatTab):
TAB_NAME = 'Content Hosts'
environment_filter = SatSelect(".//select[@ng-model='environmentFilter']")
searchbox = Search()
select_all = Checkbox(locator=".//input[@type='checkbox'][@ng-change='allSelected()']")
apply = Text(".//button[@ng-click='goToNextStep()']")
table = SatTable(
locator=".//table",
Expand Down

0 comments on commit 311f200

Please sign in to comment.