File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,8 +135,7 @@ test.describe('Basic E2E tests', () => {
135135 await page . getByText ( 'App Entrypoint' ) . click ( )
136136 await page . getByText ( 'Platformatic Gateway' ) . waitFor ( )
137137 await page
138- . locator ( '[id="tag/default/get/api/runtimes"]' )
139- . locator ( '.show-api-client-button' )
138+ . getByRole ( 'button' , { name : 'Test Request(get /api/runtimes)' } )
140139 . click ( )
141140 await sendScalarReq ( page )
142141 await page . getByText ( '200 OK' ) . waitFor ( )
@@ -146,8 +145,7 @@ test.describe('Basic E2E tests', () => {
146145 await page . getByText ( 'Service Type: service' ) . click ( )
147146 await page . getByText ( 'This is a service built on top of Platformatic' ) . waitFor ( )
148147 await page
149- . locator ( '[id="tag/default/get/runtimes"]' )
150- . locator ( '.show-api-client-button' )
148+ . getByRole ( 'button' , { name : 'Test Request(get /runtimes)' } )
151149 . click ( )
152150 await sendScalarReq ( page )
153151 await page . getByText ( '200 OK' ) . waitFor ( )
You can’t perform that action at this time.
0 commit comments