ci: 更新 Playwright 测试工作流

- 在运行测试前添加环境变量输出,提高调试可读性
- 删除测试中不必要的日志输出
This commit is contained in:
严浩
2025-08-14 14:18:10 +08:00
parent 3ce9c29302
commit 231249b357
3 changed files with 4 additions and 3 deletions

View File

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