Skip to content

Commit

Permalink
feat(breadcrumb): [breadcrumb] modify delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
wuyiping0628 committed Nov 29, 2024
1 parent d85aaab commit df3354d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/sites/demos/pc/app/breadcrumb/separator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ test('Breadcrumb 自定义分隔符', async ({ page }) => {
const separator1 = breadcrumb.first().locator('.tiny-breadcrumb__separator')
const separator2 = breadcrumb.nth(1).locator('.tiny-breadcrumb__separator-cls')

await expect(separator1.first()).not.toHaveText(/>/)
await expect(separator1.first()).toHaveText(/>/)
await expect(separator2.first()).not.toHaveText(/>/)
})

0 comments on commit df3354d

Please sign in to comment.