Files
vue-ts-example/e2e/playwright/api-page.spec.ts
严浩 868972e889 style: 更新 .editorconfig 文件配置
- 扩展配置到更多文件类型,包括 CSS 预处理器文件
- 添加 end_of_line 和 max_line_length 设置
- 统一使用 LF 换行符
- 设置最大行长度为 120 字符
2025-08-19 16:24:22 +08:00

10 lines
372 B
TypeScript

import { expect, test } from '@playwright/test';
test('接口请求页面', async ({ page }) => {
await page.goto('/Page/API');
// /fake-api 正常返回。
await expect(page.locator('pre')).toContainText('http://dummyimage.com/200x200');
// // /npm-registry-api 正常返回。
// await expect(page.locator('#app')).toContainText('@vue/babel-plugin-jsx');
});