Skip to content

Commit d3882e3

Browse files
authored
Update Kember.js (#2099)
1 parent d652063 commit d3882e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/e2e/portal/Kember.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ async function runTutorial () {
4545
await tutorial.waitFor(2000);
4646
await utils.takeScreenshot(page, screenshotPrefix + 'iFrame0');
4747
const iframeHandles = await page.$$("iframe");
48-
// expected two iframes = loading + raw-graph
49-
const frame = await iframeHandles[1].contentFrame();
48+
// expected just one iframe = kember-notebook
49+
const frame = await iframeHandles[0].contentFrame();
5050

51-
// - restart kernel: click restart and accept
51+
// restart kernel: click restart and accept
5252
const restartSelector = "#run_int > button:nth-child(3)";
5353
await frame.waitForSelector(restartSelector);
5454
await frame.click(restartSelector);
@@ -60,11 +60,11 @@ async function runTutorial () {
6060
await tutorial.waitFor(2000);
6161
await utils.takeScreenshot(page, screenshotPrefix + 'restart_accept');
6262

63-
await tutorial.waitFor(8000);
63+
await tutorial.waitFor(20000);
6464
await utils.takeScreenshot(page, screenshotPrefix + 'notebook_run');
6565

66-
// - check output
67-
await tutorial.openNodeFiles(0);
66+
// check output
67+
await tutorial.openNodeFiles(1);
6868
const outFiles2 = [
6969
"Hear_Rate.csv",
7070
"notebooks.zip",

0 commit comments

Comments
 (0)