From 3ee64e88bb6c879cd846a4ae4bc5c3a29e3cd865 Mon Sep 17 00:00:00 2001 From: Satellite QE <115476073+Satellite-QE@users.noreply.github.com> Date: Wed, 11 Dec 2024 09:33:32 -0500 Subject: [PATCH] Template editor error widget (#1650) (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 e09166c4b..355a51e11 100644 --- a/airgun/views/common.py +++ b/airgun/views/common.py @@ -539,6 +539,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()