@@ -6,7 +6,7 @@ var Boilerplate = require('./utils/boilerplate');
66var boilerplate = new Boilerplate ( ) ;
77
88describe ( 'Widgets Python System Test' , function ( ) {
9- boilerplate . setup ( this . title , '/notebooks/tests/Walkthrough.ipynb' , 10 ) ;
9+ boilerplate . setup ( this . title , '/notebooks/tests/Walkthrough.ipynb' , 13 ) ;
1010
1111 it ( 'should not execute Urth.whenReady API until components have upgraded' , function ( done ) {
1212 boilerplate . browser
@@ -89,64 +89,3 @@ describe('Widgets Python System Test', function() {
8989 } ) ;
9090} ) ;
9191
92- process . env . PYTHON != "python2" && describe ( 'Widgets Scala System Test' , function ( ) {
93- boilerplate . setup ( this . title , '/notebooks/tests/Walkthrough-Scala.ipynb' , 10 ) ;
94-
95- var timeout = 30000 ;
96-
97- it ( 'should print the correct variable that is used for urth-core-function' , function ( done ) {
98-
99- boilerplate . browser
100- . elementsByCssSelector ( 'div.code_cell' ) . nth ( 5 )
101- . elementByXPath ( '//button[text()="invoke"]' ) . click ( )
102- . waitForElementById ( 'test1' , wd . asserters . textInclude ( 'world' ) , timeout )
103- . nodeify ( done ) ;
104- } ) ;
105-
106- it ( 'should bind variable to channel a' , function ( done ) {
107- boilerplate . browser
108- . elementsByCssSelector ( 'div.code_cell' ) . nth ( 6 )
109- . elementByCssSelector ( '>' , 'input' )
110- . type ( 'A' )
111- . waitForElementById ( 'test2' , wd . asserters . textInclude ( 'A' ) , timeout )
112- . nodeify ( done ) ;
113- } ) ;
114-
115- it ( 'should bind variable to channel b' , function ( done ) {
116- boilerplate . browser
117- . elementsByCssSelector ( 'div.code_cell' ) . nth ( 7 )
118- . elementByCssSelector ( '>' , 'input' )
119- . type ( 'B' )
120- . waitForElementById ( 'test3' , wd . asserters . textInclude ( 'B' ) , timeout )
121- . nodeify ( done ) ;
122- } ) ;
123-
124- it ( 'should bind variables to channels independently' , function ( done ) {
125- boilerplate . browser
126- . elementsByCssSelector ( 'div.code_cell' ) . nth ( 6 )
127- . elementByCssSelector ( '>' , 'input' )
128- . type ( '2' )
129- . elementByCssSelector ( '#test2' )
130- . text ( ) . should . eventually . include ( 'A2' )
131- . waitForElementById ( 'test2' , wd . asserters . textInclude ( 'A2' ) , timeout )
132- . waitForElementById ( 'test3' , wd . asserters . textInclude ( 'B' ) , timeout )
133- . nodeify ( done ) ;
134- } ) ;
135-
136- it ( 'should watch for changes in a watched variable' , function ( done ) {
137- boilerplate . browser
138- . elementByXPath ( '//button[text()="initChannelWatch"]' ) . click ( )
139- . elementsByCssSelector ( 'div.code_cell' ) . nth ( 8 )
140- . elementByCssSelector ( '>' , 'input' )
141- . type ( 'watched message' )
142- . waitForElementById ( 'test4' , wd . asserters . textInclude ( 'watched message' ) , timeout )
143- . nodeify ( done ) ;
144- } ) ;
145-
146- it ( 'should update output when DataFrame is modified and set to auto' , function ( done ) {
147- boilerplate . browser
148- . elementsByCssSelector ( 'div.code_cell' ) . nth ( 14 )
149- . waitForElementByClassName ( 'test5' , wd . asserters . textInclude ( 'Richard Roe' ) , timeout )
150- . nodeify ( done ) ;
151- } ) ;
152- } ) ;
0 commit comments