fix: 修正页面加载路径,确保测试正确访问首页
Some checks failed
/ build-and-deploy-to-vercel (push) Successful in 2m30s
/ lint-build-and-check (push) Successful in 4m28s
/ surge (push) Successful in 2m43s
/ playwright (push) Failing after 14m27s

This commit is contained in:
严浩
2025-04-01 12:14:45 +08:00
parent 9166bca070
commit 302151eea8

View File

@ -2,7 +2,7 @@ import { test } from '@playwright/test';
import { consola } from 'consola';
test('页面加载正常', async ({ page }, testInfo) => {
await page.goto('/');
await page.goto('/Home');
consola.info(`page.url() === ${page.url()}`);
// await expect(page.getByRole('link', { name: '中文-页面.page.vue' })).toBeVisible();