fix(editor): deletion undo and Back, Plus focus to the panel
This commit is contained in:
1 parent
270444e2ec
commit
085c56877c
14 files changed
+252
-18
No files matched your search
@@ -110,6 +110,20 @@ test.describe('« Plus » dropdown', () => {
|
||||
await expect(list(page)).toHaveCount(0)
|
||||
await expect(more(page)).toHaveAttribute('aria-expanded', 'false')
|
||||
})
|
||||
|
||||
test('Enter on an entry focuses the panel of that tab', async ({ page }) => {
|
||||
await openAt(page, 375)
|
||||
await more(page).click()
|
||||
await list(page)
|
||||
.getByRole('button', { name: dict['editor.tab.findings'] })
|
||||
.focus()
|
||||
await page.keyboard.press('Enter')
|
||||
await expect(list(page)).toHaveCount(0)
|
||||
const panel = page.getByRole('tabpanel', {
|
||||
name: dict['editor.tab.findings'],
|
||||
})
|
||||
await expect(panel).toBeFocused()
|
||||
})
|
||||
})
|
||||
|
||||
test.describe('the sidebar stays fixed', () => {
|
||||
|
||||
Reference in new issue
Block a user