tiny-vue/examples/sites/demos/mobile/app/alert/target.spec.ts

9 lines
257 B
TypeScript

import { test, expect } from '@playwright/test'
test('文字居中', async ({ page }) => {
page.on('pageerror', (exception) => expect(exception).toBeNull())
await page.goto('alert#target')
const alert = page.locator('#target .tiny-mobile-alert')
})