@@ -126,7 +126,7 @@ It is used to test the following features:
126126 } )
127127
128128 await test . step ( 'First start attempt — expect failure (port already in use)' , async ( ) => {
129- await page . getByTestId ( 'page-header-actions ' ) . getByRole ( 'button' , { name : 'Start' } ) . click ( )
129+ await page . getByTestId ( 'service-detail-action-bar ' ) . getByRole ( 'button' , { name : 'Start' } ) . click ( )
130130
131131 // The spawned service will try to bind to port 9090 (default), which is
132132 // already occupied by the test host. Expect status to transition to Error.
@@ -169,7 +169,7 @@ It is used to test the following features:
169169
170170 // Navigate back to the Overview tab and start the service again
171171 await page . getByTestId ( 'service-detail-tabs' ) . getByRole ( 'tab' , { name : 'Overview' } ) . click ( )
172- await page . getByTestId ( 'page-header-actions ' ) . getByRole ( 'button' , { name : 'Start' } ) . click ( )
172+ await page . getByTestId ( 'service-detail-action-bar ' ) . getByRole ( 'button' , { name : 'Start' } ) . click ( )
173173
174174 await expect ( page . getByTestId ( 'service-status-indicator' ) ) . toContainText ( 'Running' , { timeout : 60_000 } )
175175 } )
@@ -190,7 +190,7 @@ It is used to test the following features:
190190
191191 await test . step ( 'Stop the service' , async ( ) => {
192192 // SIGTERM may cause non-zero exit → "Error" or clean → "Stopped"
193- await page . getByTestId ( 'page-header-actions ' ) . getByRole ( 'button' , { name : 'Stop' } ) . click ( )
193+ await page . getByTestId ( 'service-detail-action-bar ' ) . getByRole ( 'button' , { name : 'Stop' } ) . click ( )
194194 await expect ( page . getByTestId ( 'service-status-indicator' ) ) . toContainText ( / S t o p p e d | E r r o r / , { timeout : 30_000 } )
195195 } )
196196 } finally {
0 commit comments