Fix applyExplorerBindings call in Portal (#408)

This commit is contained in:
Steve Faulkner
2021-01-27 20:37:14 -06:00
committed by GitHub
parent f1db1ed978
commit a14d20a88e
4 changed files with 58 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ export const uploadNotebookIfNotExist = async (frame: Frame, notebookName: strin
export const getNotebookNode = async (frame: Frame, uploadNotebookName: string): Promise<ElementHandle<Element>> => {
const notebookResourceTree = await frame.waitForSelector(".notebookResourceTree");
await frame.waitFor(RENDER_DELAY);
let currentNotebookNode: ElementHandle<Element>;
const treeNodeHeaders = await notebookResourceTree.$$(".treeNodeHeader");