import { test, expect } from '@playwright/test'

test('表格事件对象', async ({ page }) => {
  page.on('pageerror', (exception) => expect(exception).toBeNull())
  await page.goto('grid-event#event-grid-events')
  await page.getByRole('cell', { name: 'GFD科技YX公司' }).click()

  await expect(page.getByText('单元格点击名称')).toBeVisible()
})
