@@ -9,17 +9,14 @@ const {Assert, plural, print, removeFolder} = require('./utils.js');
99
1010async function wrapRunTests ( options = new Options ( ) ) {
1111 options . screenshotComparison = false ;
12- options . noSandbox = true ;
1312 return await runTests ( { 'options' : options , 'showLogs' : false } ) ;
1413}
1514async function wrapRunTest ( testPath , options = new Options ( ) ) {
1615 options . screenshotComparison = false ;
17- options . noSandbox = true ;
1816 return await runTest ( testPath , { 'options' : options , 'showLogs' : false } ) ;
1917}
2018async function wrapRunTestCode ( testName , content , options = new Options ( ) ) {
2119 options . screenshotComparison = false ;
22- options . noSandbox = true ;
2320 return await runTestCode ( testName , content , { 'options' : options , 'showLogs' : false } ) ;
2421}
2522
@@ -305,9 +302,6 @@ async function checkOptions(x) {
305302 await x . assert ( options . screenshotComparison , false ) ;
306303 await x . assertTry ( ( ) => options . parseArguments ( [ '--enable-screenshot-comparison' ] ) , [ ] , true ) ;
307304 await x . assert ( options . screenshotComparison , true ) ;
308- await x . assert ( options . noSandbox , false ) ;
309- await x . assertTry ( ( ) => options . parseArguments ( [ '--no-sandbox' ] ) , [ ] , true ) ;
310- await x . assert ( options . noSandbox , true ) ;
311305 await x . assert ( options . incognito , false ) ;
312306 await x . assertTry ( ( ) => options . parseArguments ( [ '--incognito' ] ) , [ ] , true ) ;
313307 await x . assert ( options . incognito , true ) ;
@@ -451,11 +445,6 @@ async function checkOptions(x) {
451445 await x . assertTry ( ( ) => options . validateFields ( ) , [ ] ,
452446 '`Options.failOnJsError` field is supposed to be a boolean! (Type is string)' ) ;
453447
454- options = new Options ( ) ;
455- options . noSandbox = '' ;
456- await x . assertTry ( ( ) => options . validateFields ( ) , [ ] ,
457- '`Options.noSandbox` field is supposed to be a boolean! (Type is string)' ) ;
458-
459448 options = new Options ( ) ;
460449 options . failOnRequestError = '' ;
461450 await x . assertTry ( ( ) => options . validateFields ( ) , [ ] ,
0 commit comments