Skip to content

Commit

Permalink
Update examples/playwright/src/theia-notebook-cell.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Langer <[email protected]>
  • Loading branch information
dhuebner and planger authored Sep 19, 2024
1 parent 82100a5 commit 075c257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/playwright/src/theia-notebook-cell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class TheiaNotebookCell extends TheiaPageObject {
* @returns The mode of the cell, e.g. 'python', 'markdown', etc.
*/
async mode(): Promise<string> {
this.locator.waitFor({ state: 'visible' });
await this.locator.waitFor({ state: 'visible' });
const editorElement = await this.editor.locator.elementHandle();
if (editorElement === null) {
throw new Error('Could not find editor element for the notebook cell.');
Expand Down

0 comments on commit 075c257

Please sign in to comment.