File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
openvidu-components-angular/test Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ const puppeteer = require('puppeteer');
1717 args : [
1818 '--use-fake-ui-for-media-stream' ,
1919 '--use-fake-device-for-media-stream' ,
20+ '--no-sandbox' ,
21+ '--disable-setuid-sandbox' ,
2022 ] ,
2123 } ) ;
2224 const page = await browser . newPage ( ) ;
@@ -33,7 +35,10 @@ const puppeteer = require('puppeteer');
3335 const screenshotPath = `screenshot-${ Date . now ( ) } .png` ;
3436 await page . screenshot ( { path : screenshotPath } ) ;
3537 console . error ( `Error: ${ selector } not found` ) ;
36- console . error ( `ERROR!! Test failed: ${ selector } not found on ${ url } ` , error ) ;
38+ console . error (
39+ `ERROR!! Test failed: ${ selector } not found on ${ url } ` ,
40+ error
41+ ) ;
3742 process . exit ( 1 ) ;
3843 } finally {
3944 await browser . close ( ) ;
You can’t perform that action at this time.
0 commit comments