We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1448cc commit de88ccdCopy full SHA for de88ccd
examples/sites/demos/pc/app/tree/filter-view.spec.ts
@@ -7,7 +7,7 @@ test('测试过滤视图', async ({ page }) => {
7
const preview = page.locator('.pc-demo-container')
8
const tree = preview.locator('.tiny-tree').nth(0)
9
const btnPlain = preview.getByText('平铺视图 plain')
10
- const btnHighlight = preview.getByRole('radio', { name: '高亮' })
+ const btnHighlight = preview.getByRole('radio', { name: '高亮' }).nth(0)
11
const checkboxs = tree.locator('.tiny-tree__plain-node .tiny-checkbox')
12
const highlightNodes = tree.locator('.tiny-tree__plain-node .tiny-hl-query-node')
13
const input = preview.locator('.tiny-input input')
0 commit comments