mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Also check for docs pane label in code cell completions test. (#19530)
This commit is contained in:
@@ -46,7 +46,12 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
|
||||
// check for completion suggestions
|
||||
await app.workbench.sqlNotebook.waitForSuggestionWidget();
|
||||
await app.workbench.sqlNotebook.waitForSuggestionResult('SELECT');
|
||||
|
||||
// Docs pane might be visible in the completions list, so also check for a docs aria-label
|
||||
await Promise.race([
|
||||
app.workbench.sqlNotebook.waitForSuggestionResult('SELECT'),
|
||||
app.workbench.sqlNotebook.waitForSuggestionResult('SELECT, docs: SELECT keyword')
|
||||
]);
|
||||
await app.code.dispatchKeybinding('tab');
|
||||
|
||||
const text2: string = ' * FROM employees';
|
||||
|
||||
Reference in New Issue
Block a user