File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ class SDKTest extends TestCase
222222 ],
223223 'envs ' => [
224224 'chromium ' => 'docker run --rm -v $(pwd):/app -e BROWSER=chromium -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal node tests.js ' ,
225- 'firefox ' => 'docker run --rm -v $(pwd):/app -e BROWSER=firefox -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal node tests.js ' ,
225+ // 'firefox' => 'docker run --rm -v $(pwd):/app -e BROWSER=firefox -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal node tests.js',
226226 'node ' => 'docker run --rm -v $(pwd):/app -w /app/tests/sdks/web mcr.microsoft.com/playwright:v1.15.0-focal node node.js ' ,
227227 ],
228228 'expectedOutput ' => [
Original file line number Diff line number Diff line change @@ -10,8 +10,12 @@ const server = http.createServer((request, response) => {
1010
1111server . listen ( 3000 , async ( ) => {
1212 console . log ( 'Test Started' ) ;
13- const browser = await playwright [ process . env . BROWSER ] . launch ( ) ;
14- const context = await browser . newContext ( ) ;
13+ const browser = await playwright [ process . env . BROWSER ] . launch ( {
14+ args : [
15+ "--allow-insecure-localhost" ,
16+ "--disable-web-security" ,
17+ ]
18+ } ) ; const context = await browser . newContext ( ) ;
1519 const page = await context . newPage ( ) ;
1620 page . on ( 'console' , message => {
1721 if ( message . type ( ) == 'log' ) {
You can’t perform that action at this time.
0 commit comments