Skip to content

Commit

Permalink
Update fill method logic for button values (#1695)
Browse files Browse the repository at this point in the history
(cherry picked from commit 47cc116)
  • Loading branch information
ColeHiggins2 authored and web-flow committed Jan 9, 2025
1 parent 2701fd4 commit 49d9222
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airgun/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 49d9222

Please sign in to comment.