Skip to content

Commit

Permalink
check facts for host
Browse files Browse the repository at this point in the history
  • Loading branch information
amolpati30 committed Oct 8, 2024
1 parent 1728a06 commit 053fe41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions airgun/entities/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,15 @@ def get_displayed_table_headers(self):
view.wait_displayed()
return view.displayed_table_header_names

def build_mode(self, entity_name, value=None):
view = self.navigate_to(self, 'All')
view.table.row(name=entity_name)['Name'].widget.click()
host_view = NewHostDetailsView(self.browser)
host_view.wait_displayed()
host_view.dropdown.wait_displayed()
host_view.dropdown.item_select(value)
return host_view.read()


@navigator.register(HostEntity, 'All')
class ShowAllHosts(NavigateStep):
Expand Down

0 comments on commit 053fe41

Please sign in to comment.