Skip to content

Commit 2d1bd21

Browse files
committed
chore(vscode): better handling no sqlmesh
1 parent e15779a commit 2d1bd21

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

vscode/extension/tests/utils.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,14 @@ export const openLineageView = async (window: Page): Promise<void> => {
148148
await window.keyboard.type('Lineage: Focus On View')
149149
await window.keyboard.press('Enter')
150150
}
151+
152+
/**
153+
* Restart the SQLMesh servers
154+
*/
155+
export const restartSqlmeshServers = async (window: Page): Promise<void> => {
156+
await window.keyboard.press(
157+
process.platform === 'darwin' ? 'Meta+Shift+P' : 'Control+Shift+P',
158+
)
159+
await window.keyboard.type('Restart SQLMesh servers')
160+
await window.keyboard.press('Enter')
161+
}

0 commit comments

Comments
 (0)