From bf3fe5da3d19f951c0a527ccee513deffdefe58d Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Thu, 7 Dec 2023 15:54:24 +0530 Subject: [PATCH] Add error-msg class in ValidationErrors for settings (#1064) Signed-off-by: Gaurav Talreja --- airgun/widgets.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airgun/widgets.py b/airgun/widgets.py index 525c8cf30..3b4525013 100644 --- a/airgun/widgets.py +++ b/airgun/widgets.py @@ -922,6 +922,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')) "