@@ -112,7 +112,8 @@ process.on('SIGTERM', () => {
112112 adminProcess = execa ( 'node' , [
113113 path . join ( process . cwd ( ) , 'bin' , 'index.js' ) ,
114114 'admin' ,
115- '--port' , '9999'
115+ '--port' , '9999' ,
116+ '--no-open'
116117 ] , {
117118 cwd : testWorkspace ,
118119 stdio : 'pipe'
@@ -133,15 +134,16 @@ process.on('SIGTERM', () => {
133134 expect ( response . body ) . toContain ( 'CPU Usage' ) ;
134135 expect ( response . body ) . toContain ( 'Memory Usage' ) ;
135136 expect ( response . body ) . toContain ( 'Network I/O' ) ;
136- expect ( response . body ) . toContain ( 'Disk I/O ' ) ;
137+ expect ( response . body ) . toContain ( 'Disk Usage ' ) ;
137138 } , 15000 ) ;
138139
139140 it ( 'should provide metrics API endpoint' , async ( ) => {
140141 // Start admin dashboard
141142 adminProcess = execa ( 'node' , [
142143 path . join ( process . cwd ( ) , 'bin' , 'index.js' ) ,
143144 'admin' ,
144- '--port' , '9998'
145+ '--port' , '9998' ,
146+ '--no-open'
145147 ] , {
146148 cwd : testWorkspace ,
147149 stdio : 'pipe'
@@ -169,7 +171,8 @@ process.on('SIGTERM', () => {
169171 adminProcess = execa ( 'node' , [
170172 path . join ( process . cwd ( ) , 'bin' , 'index.js' ) ,
171173 'admin' ,
172- '--port' , '9997'
174+ '--port' , '9997' ,
175+ '--no-open'
173176 ] , {
174177 cwd : testWorkspace ,
175178 stdio : 'pipe'
@@ -198,7 +201,8 @@ process.on('SIGTERM', () => {
198201 adminProcess = execa ( 'node' , [
199202 path . join ( process . cwd ( ) , 'bin' , 'index.js' ) ,
200203 'admin' ,
201- '--port' , '9996'
204+ '--port' , '9996' ,
205+ '--no-open'
202206 ] , {
203207 cwd : testWorkspace ,
204208 stdio : 'pipe'
@@ -230,7 +234,8 @@ process.on('SIGTERM', () => {
230234 adminProcess = execa ( 'node' , [
231235 path . join ( process . cwd ( ) , 'bin' , 'index.js' ) ,
232236 'admin' ,
233- '--port' , '9995'
237+ '--port' , '9995' ,
238+ '--no-open'
234239 ] , {
235240 cwd : testWorkspace ,
236241 stdio : 'pipe'
0 commit comments