@@ -36,7 +36,7 @@ Given('I navigate to the authorize page', async function() {
36
36
this . browser = await puppeteer . launch ( {
37
37
ignoreHTTPSErrors : true ,
38
38
headless : true ,
39
- args : [ "--no-sandbox" ]
39
+ args : [ "--no-sandbox" , "--disable-gpu" ]
40
40
} )
41
41
this . page = await this . browser . newPage ( )
42
42
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
49
49
this . browser = await puppeteer . launch ( {
50
50
ignoreHTTPSErrors : true ,
51
51
headless : true ,
52
- args : [ "--no-sandbox" ]
52
+ args : [ "--no-sandbox" , "--disable-gpu" ]
53
53
} )
54
54
this . page = await this . browser . newPage ( )
55
55
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
62
62
this . browser = await puppeteer . launch ( {
63
63
ignoreHTTPSErrors : true ,
64
64
headless : true ,
65
- args : [ "--no-sandbox" ]
65
+ args : [ "--no-sandbox" , "--disable-gpu" ]
66
66
} )
67
67
this . page = await this . browser . newPage ( )
68
68
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
75
75
this . browser = await puppeteer . launch ( {
76
76
ignoreHTTPSErrors : true ,
77
77
headless : true ,
78
- args : [ "--no-sandbox" ]
78
+ args : [ "--no-sandbox" , "--disable-gpu" ]
79
79
} )
80
80
this . page = await this . browser . newPage ( )
81
81
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
88
88
this . browser = await puppeteer . launch ( {
89
89
ignoreHTTPSErrors : true ,
90
90
headless : true ,
91
- args : [ "--no-sandbox" ]
91
+ args : [ "--no-sandbox" , "--disable-gpu" ]
92
92
} )
93
93
this . page = await this . browser . newPage ( )
94
94
return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -102,7 +102,7 @@ if (isPkceEnabled) {
102
102
this . browser = await puppeteer . launch ( {
103
103
ignoreHTTPSErrors : true ,
104
104
headless : true ,
105
- args : [ "--no-sandbox" ]
105
+ args : [ "--no-sandbox" , "--disable-gpu" ]
106
106
} )
107
107
this . page = await this . browser . newPage ( )
108
108
return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -114,7 +114,7 @@ if (isPkceEnabled) {
114
114
this . browser = await puppeteer . launch ( {
115
115
ignoreHTTPSErrors : true ,
116
116
headless : true ,
117
- args : [ "--no-sandbox" ]
117
+ args : [ "--no-sandbox" , "--disable-gpu" ]
118
118
} )
119
119
this . page = await this . browser . newPage ( )
120
120
return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
@@ -126,7 +126,7 @@ if (isPkceEnabled) {
126
126
this . browser = await puppeteer . launch ( {
127
127
ignoreHTTPSErrors : true ,
128
128
headless : true ,
129
- args : [ "--no-sandbox" ]
129
+ args : [ "--no-sandbox" , "--disable-gpu" ]
130
130
} )
131
131
this . page = await this . browser . newPage ( )
132
132
return await this . page . goto ( 'https://' + hostname + basePath + '/authorize?client_id=' + this . apickli . scenarioVariables . clientId
0 commit comments