11 lines
409 B
JavaScript
11 lines
409 B
JavaScript
import { test, expect } from '@playwright/test'
|
|
|
|
test('表尾菜单', async ({ page }) => {
|
|
page.on('pageerror', (exception) => expect(exception).toBeNull())
|
|
await page.goto('grid-context-menu#context-menu-footer-menu')
|
|
await page.locator('.tiny-grid-footer__row > td:nth-child(3)').click({
|
|
button: 'right'
|
|
})
|
|
await expect(page.locator('a').filter({ hasText: '清空数据' })).toBeVisible()
|
|
})
|