forked from opentiny/tiny-vue
test(milestone): [milestone] Fix test cases (#1447)
This commit is contained in:
parent
fadcf72910
commit
57160402fb
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue