tiny-vue_version0/examples/sites/demos/pc/app/time-select/picker-options.spec.ts

8 lines
319 B
TypeScript

import { test, expect } from '@playwright/test'
test('指定时间点', async ({ page }) => {
page.on('pageerror', (exception) => expect(exception).toBeNull())
await page.goto('time-select#picker-options')
expect(await page.getByRole('textbox', { name: '选择时间' }).getAttribute('title')).not.toBeNull()
})