Skip to content

Commit 8cac47c

Browse files
committed
fixup
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
1 parent 5098c9e commit 8cac47c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

web/frontend/test/e2e/basic.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)