Skip to content

Commit b7d937e

Browse files
committed
test(app): await mobile drawer focus restoration
1 parent 4a45c9b commit b7d937e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/app/e2e/regression/mobile-session.spec.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ test.describe("touch", () => {
347347
await expect(page).toHaveURL(new RegExp(`/session/${fixture.sourceID}$`))
348348
await expect(drawer).toBeHidden()
349349
await expect(trigger).toContainText(fixture.expected.sourceTitle)
350+
await expect(trigger).toBeFocused()
350351
await trigger.click()
351352
await drawer.getByRole("button", { name: "Home", exact: true }).click()
352353
await expect(page).toHaveURL("/")

0 commit comments

Comments
 (0)