diff --git a/examples/sites/demos/pc/app/milestone/show-number.spec.ts b/examples/sites/demos/pc/app/milestone/show-number.spec.ts index f958f5eb59..be621ae792 100644 --- a/examples/sites/demos/pc/app/milestone/show-number.spec.ts +++ b/examples/sites/demos/pc/app/milestone/show-number.spec.ts @@ -4,7 +4,7 @@ test('序号显示', async ({ page }) => { page.on('pageerror', (exception) => expect(exception).not.toBeNull()) await page.goto('milestone#show-number') - const button = page.getByRole('button').filter({ hasText: '设置 show-number 值为false' }) + const button = page.getByRole('button').filter({ hasText: '设置 show-number 值为 false' }) const nodes = page.locator('.tiny-milestone__node') const nodeIcons = page.locator('.tiny-milestone__icon') const nodeLines = page.locator('.tiny-milestone__line') diff --git a/examples/sites/demos/pc/app/milestone/solid-style.spec.ts b/examples/sites/demos/pc/app/milestone/solid-style.spec.ts index a311939e45..8a89682db9 100644 --- a/examples/sites/demos/pc/app/milestone/solid-style.spec.ts +++ b/examples/sites/demos/pc/app/milestone/solid-style.spec.ts @@ -4,7 +4,7 @@ test('实心显示', async ({ page }) => { page.on('pageerror', (exception) => expect(exception).not.toBeNull()) await page.goto('milestone#solid-style') - const button = page.getByRole('button').filter({ hasText: '设置 solid 值为true' }) + const button = page.getByRole('button').filter({ hasText: '设置 solid 值为 true' }) const nodes = page.locator('.tiny-milestone__node') const nodeIcons = page.locator('.tiny-milestone__icon') const nodeLines = page.locator('.tiny-milestone__line')