Add simple notebook code cell smoke test (#15870)

* simple code cell test

* change test order

* fix select all text keybinding
This commit is contained in:
Lucy Zhang
2021-06-22 23:31:53 -04:00
committed by GitHub
parent 3634110974
commit c636e24d03
2 changed files with 66 additions and 57 deletions

View File

@@ -104,7 +104,7 @@ export class Notebook {
public async selectAllTextInEditor(): Promise<void> {
const editor = '.notebook-cell.active .monaco-editor';
await this.code.waitAndClick(editor);
await this.code.dispatchKeybinding('ctrl+a');
await this.code.dispatchKeybinding('cmd+a');
}
private static readonly placeholderSelector = 'div.placeholder-cell-component';