mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Re-enable notebook text cell smoke test (#15720)
* re-enable text cell test * close notebook after text cell test
This commit is contained in:
@@ -15,7 +15,6 @@ export class Notebook {
|
||||
|
||||
public readonly toolbar: NotebookToolbar;
|
||||
public readonly view: NotebookView;
|
||||
private newNotebookCount: number = 0;
|
||||
|
||||
constructor(private code: Code, private quickAccess: QuickAccess, private quickInput: QuickInput, private editors: Editors) {
|
||||
this.toolbar = new NotebookToolbar(code);
|
||||
@@ -32,9 +31,8 @@ export class Notebook {
|
||||
|
||||
async newUntitledNotebook(): Promise<void> {
|
||||
await this.code.dispatchKeybinding(winOrCtrl + '+alt+n');
|
||||
await this.editors.waitForActiveTab(`Notebook-${this.newNotebookCount}`);
|
||||
await this.editors.waitForActiveTab(`Notebook-0`);
|
||||
await this.code.waitForElement('.notebookEditor');
|
||||
this.newNotebookCount++;
|
||||
}
|
||||
|
||||
// Notebook Toolbar Actions
|
||||
|
||||
Reference in New Issue
Block a user