tiny-vue_version0/examples/sites/demos/pc/app/statistic/basic-usage.spec.ts

9 lines
318 B
TypeScript

import { test, expect } from '@playwright/test'
test('基本用法', async ({ page }) => {
page.on('pageerror', (exception) => expect(exception).toBeNull())
await page.goto('statistic#basic-usage')
await page.locator('#basic-usage').getByText('306,526', { exact: true })
await page.getByText('306,526.23')
})