test(editor): scoped overview card queries, group names
This commit is contained in:
1 parent
6131225288
commit
7cca88592f
4 files changed
+92
-43
No files matched your search
@@ -502,8 +502,11 @@ export async function pickAnnotation(
|
||||
name: dict['editor.annotations.show_all'],
|
||||
exact: true,
|
||||
})
|
||||
const list = annotationList(page, dict)
|
||||
// Either the card (nothing selected) or the properties panel has settled.
|
||||
await expect(all.or(list)).toBeVisible()
|
||||
if (await all.isVisible()) await all.click()
|
||||
await annotationList(page, dict).getByRole('button', { name }).click()
|
||||
await list.getByRole('button', { name }).click()
|
||||
}
|
||||
|
||||
export const toolButton = (page: Page, dict: Dict, id: string) =>
|
||||
|
||||
Reference in new issue
Block a user