Skip to content

Commit

Permalink
test(e2e): fix action-menu error e2e test (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr authored Dec 3, 2024
1 parent c504457 commit c923474
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/sites/demos/pc/app/action-menu/card-mode.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ test('基本用法', async ({ page }) => {

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

0 comments on commit c923474

Please sign in to comment.