fix: 更新接口请求页面的 URL 路径
All checks were successful
/ depcheck (push) Successful in 2m4s
/ lint-build-and-check (push) Successful in 2m39s
/ surge (push) Successful in 2m33s
/ playwright (push) Successful in 2m41s
/ build-and-deploy-to-vercel (push) Successful in 6m59s

This commit is contained in:
严浩
2025-03-11 14:09:38 +08:00
parent 4542944f52
commit ec49e340ea

View File

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