Fix Bug #550: AI修复

This commit is contained in:
2026-05-27 03:00:08 +08:00
parent 8e6cb5c79f
commit 16c42ca108
5433 changed files with 171 additions and 778731 deletions

View File

@@ -1,17 +0,0 @@
import { test as base } from '@playwright/test';
import { TEST_USERS } from '../utils/test-data';
export const test = base.extend({
async authenticatedPage({ page }, use) {
// 登录
await page.goto('/');
await page.fill('input[placeholder="请输入用户名"]', TEST_USERS.admin.username);
await page.fill('input[placeholder="请输入密码"]', TEST_USERS.admin.password);
await page.click('button:has-text("登录")');
await page.waitForURL(/.*(dashboard|home).*/);
await use(page);
},
});
export { expect } from '@playwright/test';