forked from opentiny/tiny-vue
11 lines
368 B
TypeScript
11 lines
368 B
TypeScript
import { test, expect } from '@playwright/test'
|
|
|
|
test('Collapse 嵌套内容', async ({ page }) => {
|
|
page.on('pageerror', (exception) => expect(exception).toBeNull())
|
|
await page.goto('collapse#nested-content')
|
|
|
|
const content = page.locator('.tiny-collapse-item__content')
|
|
page.waitForTimeout(200)
|
|
await expect(content.locator('.tiny-form')).toBeVisible()
|
|
})
|