@@ -36,7 +36,7 @@ Given('I navigate to the authorize page', async function() {
3636 this . browser = await puppeteer . launch ( {
3737 ignoreHTTPSErrors : true ,
3838 headless : true ,
39- args : [ "--no-sandbox" ]
39+ args : [ "--no-sandbox" , "--disable-gpu" ]
4040 } )
4141 this . page = await this . browser . newPage ( )
4242 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -49,7 +49,7 @@ Given('I navigate to the authorize page with query params that must be sanitized
4949 this . browser = await puppeteer . launch ( {
5050 ignoreHTTPSErrors : true ,
5151 headless : true ,
52- args : [ "--no-sandbox" ]
52+ args : [ "--no-sandbox" , "--disable-gpu" ]
5353 } )
5454 this . page = await this . browser . newPage ( )
5555 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + ' ' + this . apickli . scenarioVariables . clientId
@@ -62,7 +62,7 @@ Given('I navigate to the authorize page with an invalid response type', async fu
6262 this . browser = await puppeteer . launch ( {
6363 ignoreHTTPSErrors : true ,
6464 headless : true ,
65- args : [ "--no-sandbox" ]
65+ args : [ "--no-sandbox" , "--disable-gpu" ]
6666 } )
6767 this . page = await this . browser . newPage ( )
6868 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -75,7 +75,7 @@ Given('I navigate to the authorize page without a scope parameter', async functi
7575 this . browser = await puppeteer . launch ( {
7676 ignoreHTTPSErrors : true ,
7777 headless : true ,
78- args : [ "--no-sandbox" ]
78+ args : [ "--no-sandbox" , "--disable-gpu" ]
7979 } )
8080 this . page = await this . browser . newPage ( )
8181 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -88,7 +88,7 @@ Given('I navigate to the authorize page without a state parameter', async functi
8888 this . browser = await puppeteer . launch ( {
8989 ignoreHTTPSErrors : true ,
9090 headless : true ,
91- args : [ "--no-sandbox" ]
91+ args : [ "--no-sandbox" , "--disable-gpu" ]
9292 } )
9393 this . page = await this . browser . newPage ( )
9494 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -102,7 +102,7 @@ if (isPkceEnabled) {
102102 this . browser = await puppeteer . launch ( {
103103 ignoreHTTPSErrors : true ,
104104 headless : true ,
105- args : [ "--no-sandbox" ]
105+ args : [ "--no-sandbox" , "--disable-gpu" ]
106106 } )
107107 this . page = await this . browser . newPage ( )
108108 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -114,7 +114,7 @@ if (isPkceEnabled) {
114114 this . browser = await puppeteer . launch ( {
115115 ignoreHTTPSErrors : true ,
116116 headless : true ,
117- args : [ "--no-sandbox" ]
117+ args : [ "--no-sandbox" , "--disable-gpu" ]
118118 } )
119119 this . page = await this . browser . newPage ( )
120120 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -126,7 +126,7 @@ if (isPkceEnabled) {
126126 this . browser = await puppeteer . launch ( {
127127 ignoreHTTPSErrors : true ,
128128 headless : true ,
129- args : [ "--no-sandbox" ]
129+ args : [ "--no-sandbox" , "--disable-gpu" ]
130130 } )
131131 this . page = await this . browser . newPage ( )
132132 return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
0 commit comments