Skip to content

Commit

Permalink
Add error-msg class in ValidationErrors for settings (#1064) (#1066)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Talreja <[email protected]>
(cherry picked from commit bf3fe5d)

Co-authored-by: Gaurav Talreja <[email protected]>
  • Loading branch information
Satellite-QE and Gauravtalreja1 authored Dec 7, 2023
1 parent 61eb956 commit cbe89d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airgun/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ class ValidationErrors(Widget):
ERROR_ELEMENTS = ".//*[contains(@class,'has-error') and not(contains(@style,'display:none'))]"
ERROR_MESSAGES = (
".//*[(contains(@class, 'alert base in fade alert-danger')"
"or contains(@class,'error-msg') "
"or contains(@class,'error-msg-block')"
"or contains(@class,'error-message') "
"or contains(@class,'editable-error-block')) "
Expand Down

0 comments on commit cbe89d6

Please sign in to comment.