From ac4bbf3625467ef5ed1fcce88dd9f45ef8e1880b Mon Sep 17 00:00:00 2001 From: amolpati30 <151733635+amolpati30@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:10:20 +0530 Subject: [PATCH] updated read func which will read the value and click on submit. (#1701) (cherry picked from commit 1c202ebcb16774f1e689b8539ee5a057220b62f8) --- airgun/entities/hostgroup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airgun/entities/hostgroup.py b/airgun/entities/hostgroup.py index 7821e5e69..40afb05b7 100644 --- a/airgun/entities/hostgroup.py +++ b/airgun/entities/hostgroup.py @@ -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"""