Add cell toolbar tests for undoing text styling by clicking button twice. (#18807)

This commit is contained in:
Cory Rivera
2022-04-06 10:02:51 -07:00
committed by GitHub
parent bc79d62b35
commit 316798a9b5
2 changed files with 71 additions and 30 deletions

View File

@@ -155,6 +155,11 @@ export class Notebook {
await this.code.waitForElement(textSelector, result => !!result?.textContent?.includes(text)); // Use includes to handle whitespace/quote edge cases
}
async waitForTextCellPreviewContentGone(selector: string): Promise<void> {
let textSelector = `${Notebook.textCellPreviewSelector} ${selector}`;
await this.code.waitForElementGone(textSelector);
}
// Cell Output Actions
async waitForActiveCellResults(): Promise<void> {