Skip to content

Commit 6a40844

Browse files
committed
fix: modify e2e test error
1 parent 0a9a00d commit 6a40844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/sites/demos/pc/app/statistic/statistic-slot.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'
33
test('插槽用法', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('statistic#statistic-slot')
6-
const desc = page.locator('.tiny-statistic__description')
6+
const desc = page.locator('.tiny-statistic__description-margin')
77
await page
88
.locator('div')
99
.filter({ hasText: /^使\(GB\)10,010,258GB$/ })

0 commit comments

Comments
 (0)