diff --git a/core/http/react-ui/e2e/studio-composer.spec.js b/core/http/react-ui/e2e/studio-composer.spec.js index f6aa25d62..cd389d06d 100644 --- a/core/http/react-ui/e2e/studio-composer.spec.js +++ b/core/http/react-ui/e2e/studio-composer.spec.js @@ -134,7 +134,8 @@ test.describe('Studio composer: keys', () => { test('/ focuses the prompt from anywhere on the page', async ({ page }) => { await mockStudio(page) await page.goto('/app/studio') - await page.locator('h1.page-title').click() + // The add-on shell titles the page; click that title, away from every field. + await page.locator('h1.page-title').first().click() await page.keyboard.press('/') await expect(prompt(page)).toBeFocused() // Typing a slash in the prompt is a slash, not a jump.