tiny-vue/examples/sites/demos/pc/app/grid/tip/cell-tip-config.spec.js

15 lines
568 B
JavaScript
Raw Permalink 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-tip#tip-cell-tip-config')
await page
.getByRole('cell', { name: '2014-04-30 00:56:00 2014-04-30 00:56:00 2014-04-30 00:56:00 2014-04-30 00:56:00' })
.hover()
await expect(
page.getByRole('tooltip', {
name: '自定义提示2014-04-30 00:56:00 2014-04-30 00:56:00 2014-04-30 00:56:00 2014-04-30 00:56:00-----createdDate'
})
).toBeVisible()
})