tiny-vue/examples/sites/demos/pc/app/grid/tree-table/tree-table-tree-grid-expand...

10 lines
380 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { test, expect } from '@playwright/test'
test('检查树节点展开行数', async ({ page }) => {
page.on('pageerror', (exception) => expect(exception).toBeNull())
await page.goto('grid-tree-table#tree-table-tree-grid-expand')
await page.getByRole('cell', { name: '1' }).getByRole('img').click()
await expect(page.getByText('展开行数1')).toBeVisible()
})