mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 01:25:38 -05:00
Add Markdown Toolbar functionality to notebook smoke tests. (#15868)
This commit is contained in:
@@ -73,11 +73,13 @@ export function setup() {
|
||||
await app.workbench.sqlNotebook.doubleClickTextCell();
|
||||
await app.workbench.sqlNotebook.waitForDoubleClickToEditGone();
|
||||
|
||||
await app.workbench.sqlNotebook.changeTextCellView('Split View');
|
||||
await app.workbench.sqlNotebook.textCellToolbar.changeTextCellView('Split View');
|
||||
const sampleText: string = 'Test text cells';
|
||||
await app.workbench.sqlNotebook.waitForTypeInEditor(sampleText);
|
||||
await app.workbench.sqlNotebook.selectAllTextInEditor();
|
||||
await app.workbench.sqlNotebook.textCellToolbar.boldSelectedText();
|
||||
await app.code.dispatchKeybinding('escape');
|
||||
await app.workbench.sqlNotebook.waitForTextCellPreviewContent(sampleText, 'p');
|
||||
await app.workbench.sqlNotebook.waitForTextCellPreviewContent(sampleText, 'p', 'strong');
|
||||
|
||||
await app.workbench.quickaccess.runCommand('workbench.action.revertAndCloseActiveEditor');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user