From ec49e340eaf68a9cd0990c667520e1f825c9a59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Tue, 11 Mar 2025 14:09:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E9=A1=B5=E9=9D=A2=E7=9A=84=20URL=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/e2e/api-page.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/api-page.spec.ts b/tests/e2e/api-page.spec.ts index 393092b..0fa44d9 100644 --- a/tests/e2e/api-page.spec.ts +++ b/tests/e2e/api-page.spec.ts @@ -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 正常返回。