feat(e2e): 优化测试配置并增强富文本编辑器测试

refactor(cases): 更新案例数据结构字段
test(admin): 增加富文本编辑器多种格式测试
fix(contact-form): 修复表单提交测试并移除skip标记
perf(smart-wait): 改进页面就绪等待逻辑
ci(playwright): 调整firefox配置并优化全局setup
This commit is contained in:
张翔
2026-03-26 18:06:34 +08:00
parent 14448af731
commit 027ee2137e
10 changed files with 5367 additions and 4886 deletions
+3 -3
View File
@@ -14,8 +14,8 @@ interface CaseItem {
content: string;
category: string;
slug: string;
publishedAt?: string;
createdAt: string;
date: string;
image?: string;
}
interface CaseDetailClientProps {
@@ -223,7 +223,7 @@ export function CaseDetailClient({ caseItem }: CaseDetailClientProps) {
</div>
<div>
<dt className="text-sm text-[#737373]"></dt>
<dd className="text-[#1C1C1C] font-medium">{caseItem.publishedAt || caseItem.createdAt}</dd>
<dd className="text-[#1C1C1C] font-medium">{caseItem.date}</dd>
</div>
</dl>
</div>
+2 -2
View File
@@ -10,8 +10,8 @@ interface CaseItem {
content: string;
category: string;
slug: string;
publishedAt?: string;
createdAt: string;
date: string;
image?: string;
}
export async function generateStaticParams() {