Skip to content

Commit

Permalink
updated read func which will read the value and click on submit. (#1701
Browse files Browse the repository at this point in the history
…) (#1717)
  • Loading branch information
Satellite-QE authored Jan 27, 2025
1 parent 2f83ed7 commit 7af8d73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion airgun/entities/hostgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ def search(self, value):
def read(self, entity_name, widget_names=None):
"""Read values from host group edit page"""
view = self.navigate_to(self, 'Edit', entity_name=entity_name)
return view.read(widget_names=widget_names)
value = view.read(widget_names=widget_names)
view.submit.click()
return value

def read_all(self):
"""Read values from host groups title page"""
Expand Down

0 comments on commit 7af8d73

Please sign in to comment.