@@ -189,17 +189,18 @@ describe('EEG and Dipole Plot Test using Tutorial#1', () => {
189189 it ( 'Dipole Plot' , async ( ) => {
190190
191191 await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 2 ) ;
192+ await EEG_Dipole_page . waitForSelector ( selectors . DIPOLE_PLOT_SELECTOR )
192193 await EEG_Dipole_page . click ( selectors . DIPOLE_PLOT_SELECTOR )
193194 await EEG_Dipole_page . waitForSelector ( selectors . CANVAS_SELECTOR , { timeout : TIMEOUT } )
194195
195196 await console . log ( 'View Dipole Plot ...' )
196197
197198 await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 20 ) ;
198- await EEG_Dipole_page . click ( selectors . CONNECTIONS_PLOT_SELECTOR , { timeout : TIMEOUT } )
199- await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT ) ;
200- await EEG_Dipole_page . click ( selectors . DIPOLE_PLOT_SELECTOR )
201- await EEG_Dipole_page . waitForSelector ( selectors . CANVAS_SELECTOR , { timeout : TIMEOUT } )
202- await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 3 ) ;
199+ // await EEG_Dipole_page.click(selectors.CONNECTIONS_PLOT_SELECTOR, { timeout: TIMEOUT })
200+ // await EEG_Dipole_page.waitForTimeout(PAGE_WAIT);
201+ // await EEG_Dipole_page.click(selectors.DIPOLE_PLOT_SELECTOR)
202+ // await EEG_Dipole_page.waitForSelector(selectors.CANVAS_SELECTOR, { timeout: TIMEOUT })
203+ // await EEG_Dipole_page.waitForTimeout(PAGE_WAIT * 3);
203204
204205 await console . log ( '... taking snapshot ...' ) ;
205206 expect ( await EEG_Dipole_page . screenshot ( ) )
@@ -213,17 +214,18 @@ describe('EEG and Dipole Plot Test using Tutorial#1', () => {
213214 it ( 'EEG Plot' , async ( ) => {
214215
215216 await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 2 ) ;
217+ await EEG_Dipole_page . waitForSelector ( selectors . EEG_PLOT_SELECTOR )
216218 await EEG_Dipole_page . click ( selectors . EEG_PLOT_SELECTOR )
217219 await EEG_Dipole_page . waitForSelector ( selectors . CANVAS_SELECTOR , { timeout : TIMEOUT } )
218220
219221 await console . log ( 'View EEG Plot ...' )
220222
221223 await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 25 ) ;
222- await EEG_Dipole_page . click ( selectors . CONNECTIONS_PLOT_SELECTOR , { timeout : TIMEOUT } )
223- await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 2 ) ;
224- await EEG_Dipole_page . click ( selectors . EEG_PLOT_SELECTOR )
225- await EEG_Dipole_page . waitForSelector ( selectors . CANVAS_SELECTOR , { timeout : TIMEOUT } )
226- await EEG_Dipole_page . waitForTimeout ( PAGE_WAIT * 3 ) ;
224+ // await EEG_Dipole_page.click(selectors.CONNECTIONS_PLOT_SELECTOR, { timeout: TIMEOUT })
225+ // await EEG_Dipole_page.waitForTimeout(PAGE_WAIT * 2);
226+ // await EEG_Dipole_page.click(selectors.EEG_PLOT_SELECTOR)
227+ // await EEG_Dipole_page.waitForSelector(selectors.CANVAS_SELECTOR, { timeout: TIMEOUT })
228+ // await EEG_Dipole_page.waitForTimeout(PAGE_WAIT * 3);
227229
228230 await console . log ( '... taking snapshot ...' ) ;
229231 expect ( await EEG_Dipole_page . screenshot ( ) )
0 commit comments