From 47cc11663be6fbc844e5674b12f34f1f5a274a4e Mon Sep 17 00:00:00 2001 From: Cole Higgins Date: Thu, 9 Jan 2025 02:48:06 -0500 Subject: [PATCH] Update fill method logic for button values (#1695) --- airgun/widgets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airgun/widgets.py b/airgun/widgets.py index 92395cf24..175c00132 100644 --- a/airgun/widgets.py +++ b/airgun/widgets.py @@ -1631,10 +1631,12 @@ def fill(self, value): # not required for it if self.edit_button.is_displayed: self.edit_button.click() + if self.edit_field.is_displayed: self.edit_field.fill(value) self.save_button.click() if self.pf4_edit_button.is_displayed: self.pf4_edit_button.click() + if self.pf4_edit_field.is_displayed: self.pf4_edit_field.fill(value) self.pf4_save_button.click()