From a259c0b9dc7675a5156ad33a67fa1a5c8f2b8e94 Mon Sep 17 00:00:00 2001 From: Michael Ong Date: Tue, 1 Jul 2025 20:16:54 +0800 Subject: [PATCH] chore: add e2e test for sql editor snippets (#36293) * chore: add e2e test for sql editor snippets * trigger build * chore: fix failing test and add rls --------- Co-authored-by: Terry Sutton --- .../SQLEditor/UtilityPanel/UtilityActions.tsx | 1 + .../layouts/SQLEditorLayout/SQLEditorMenu.tsx | 1 + e2e/studio/features/home.spec.ts | 3 +- e2e/studio/features/sql-editor.spec.ts | 65 +++++++ e2e/studio/features/table-editor.spec.ts | 167 +++++++++++------- e2e/studio/playwright.config.ts | 2 +- 6 files changed, 177 insertions(+), 62 deletions(-) diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx index 2767756c532..29a026d50dd 100644 --- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx +++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityActions.tsx @@ -80,6 +80,7 @@ const UtilityActions = ({