@@ -85,7 +85,7 @@ test.describe('Voila performance Tests', () => {
85
85
`/voila/render/${ notebookName } .ipynb?voila-template=classic`
86
86
) ;
87
87
// wait for the widgets to load
88
- await page . waitForSelector ( '.noUi-touch-area ' ) ;
88
+ await page . waitForSelector ( '.slider-container ' ) ;
89
89
} ;
90
90
await addBenchmarkToTest ( notebookName , testFunction , testInfo , browserName ) ;
91
91
@@ -105,7 +105,7 @@ test.describe('Voila performance Tests', () => {
105
105
const testFunction = async ( ) => {
106
106
await page . goto ( `/voila/render/${ notebookName } .ipynb` ) ;
107
107
// wait for the widgets to load
108
- await page . waitForSelector ( '.noUi-touch-area ' ) ;
108
+ await page . waitForSelector ( '.slider-container ' ) ;
109
109
} ;
110
110
await addBenchmarkToTest ( notebookName , testFunction , testInfo , browserName ) ;
111
111
// change the value of the slider
@@ -130,7 +130,7 @@ test.describe('Voila performance Tests', () => {
130
130
const testFunction = async ( ) => {
131
131
await page . goto ( `/voila/render/${ notebookName } .ipynb?voila-theme=dark` ) ;
132
132
// wait for the widgets to load
133
- await page . waitForSelector ( '.noUi-touch-area ' ) ;
133
+ await page . waitForSelector ( '.slider-container ' ) ;
134
134
} ;
135
135
await addBenchmarkToTest ( notebookName , testFunction , testInfo , browserName ) ;
136
136
@@ -288,7 +288,7 @@ test.describe('Voila performance Tests', () => {
288
288
const notebookName = 'reveal' ;
289
289
const testFunction = async ( ) => {
290
290
await page . goto ( `/voila/render/${ notebookName } .ipynb` ) ;
291
- await page . waitForSelector ( '.noUi-touch-area ' ) ;
291
+ await page . waitForSelector ( '.slider-container ' ) ;
292
292
} ;
293
293
await addBenchmarkToTest ( notebookName , testFunction , testInfo , browserName ) ;
294
294
expect ( await page . screenshot ( ) ) . toMatchSnapshot ( `${ notebookName } .png` ) ;
0 commit comments