style(web): use single quotes in hero expectations

This commit is contained in:
Jiaying Ding
2026-08-07 11:54:45 +08:00
committed by GitHub
parent 9ac6acd7b6
commit 716361844c
4 changed files with 4 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ describe.skipIf(MODE === 'record')('web e2e: details panel follows the current S
expect(await page.getByText('Details', { exact: true }).isVisible()).toBe(false)
await page.getByRole('button', { name: /^(?:New session|新.*会话)$/ }).last().click()
await page.getByText("Into the unknown", { exact: false }).waitFor({ timeout: 15_000 })
await page.getByText('Into the unknown', { exact: false }).waitFor({ timeout: 15_000 })
await expect.poll(() => detailsTrack(page), { timeout: 5_000 }).toBe(0)
expect(await page.getByText('Details', { exact: true }).isVisible()).toBe(false)