File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ async function runTutorial () {
45
45
await tutorial . waitFor ( 2000 ) ;
46
46
await utils . takeScreenshot ( page , screenshotPrefix + 'iFrame0' ) ;
47
47
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 ( ) ;
50
50
51
- // - restart kernel: click restart and accept
51
+ // restart kernel: click restart and accept
52
52
const restartSelector = "#run_int > button:nth-child(3)" ;
53
53
await frame . waitForSelector ( restartSelector ) ;
54
54
await frame . click ( restartSelector ) ;
@@ -60,11 +60,11 @@ async function runTutorial () {
60
60
await tutorial . waitFor ( 2000 ) ;
61
61
await utils . takeScreenshot ( page , screenshotPrefix + 'restart_accept' ) ;
62
62
63
- await tutorial . waitFor ( 8000 ) ;
63
+ await tutorial . waitFor ( 20000 ) ;
64
64
await utils . takeScreenshot ( page , screenshotPrefix + 'notebook_run' ) ;
65
65
66
- // - check output
67
- await tutorial . openNodeFiles ( 0 ) ;
66
+ // check output
67
+ await tutorial . openNodeFiles ( 1 ) ;
68
68
const outFiles2 = [
69
69
"Hear_Rate.csv" ,
70
70
"notebooks.zip" ,
You can’t perform that action at this time.
0 commit comments