diff --git a/src/types/api/autocomplete.ts b/src/types/api/autocomplete.ts index c0d4f67cf9..a3d39626a9 100644 --- a/src/types/api/autocomplete.ts +++ b/src/types/api/autocomplete.ts @@ -54,4 +54,5 @@ export type AutocompleteEntityType = | 'external_data_source' | 'view' | 'column' - | 'index'; + | 'index' + | 'streaming_query'; diff --git a/src/utils/monaco/yql/generateSuggestions.ts b/src/utils/monaco/yql/generateSuggestions.ts index 7624cd6f10..0aa991568b 100644 --- a/src/utils/monaco/yql/generateSuggestions.ts +++ b/src/utils/monaco/yql/generateSuggestions.ts @@ -26,6 +26,7 @@ const suggestionEntityToAutocomplete: Partial { // Press Ctrl+K to open hotkeys panel await page.keyboard.press('Control+k'); - await page.waitForTimeout(500); // Wait for animation + await page.waitForTimeout(1000); // Wait for animation // Check if hotkeys panel is visible and has the title await expect(sidebar.isHotkeysPanelVisible()).resolves.toBe(true);