From d4ad30c5ab1ac1a0fa601e30f933a12e87a5fa17 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:33:38 -0500 Subject: [PATCH] Template editor error widget (#1652) (cherry picked from commit c94c24e0e186ed487353196945332d8ca1c02147) Co-authored-by: Lukas Hellebrandt --- airgun/views/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airgun/views/common.py b/airgun/views/common.py index 99d0ec676..35585db2b 100644 --- a/airgun/views/common.py +++ b/airgun/views/common.py @@ -471,6 +471,7 @@ class TemplateEditor(View): rendering_options = ItemsList(".//div[contains(@class,'navbar-editor')]/ul") import_template = Button(id='import-btn') fullscreen = Button(id='fullscreen-btn') + error = Text(".//div[@id='preview_error_toast']") editor = ACEEditor()