Skip to content

Commit c923474

Browse files
authored
test(e2e): fix action-menu error e2e test (#2600)
1 parent c504457 commit c923474

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/sites/demos/pc/app/action-menu/card-mode.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ test('基本用法', async ({ page }) => {
1111

1212
await expect(visibleItem).toHaveCount(4)
1313
await expect(moreItem).not.toHaveText(//)
14-
// 三点图标
15-
const SvgPathReg = /^M2\.3 7\.78v.+219-1\.17Z$/
16-
await expect(moreItem.locator('.tiny-svg path').first()).toHaveAttribute('d', SvgPathReg)
14+
await expect(moreItem.locator('.tiny-dropdown__suffix-inner .tiny-svg')).toBeVisible()
1715
})

0 commit comments

Comments
 (0)