feat(e2e): 优化测试配置并增强富文本编辑器测试
refactor(cases): 更新案例数据结构字段 test(admin): 增加富文本编辑器多种格式测试 fix(contact-form): 修复表单提交测试并移除skip标记 perf(smart-wait): 改进页面就绪等待逻辑 ci(playwright): 调整firefox配置并优化全局setup
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -10,8 +10,8 @@ interface CaseItem {
|
||||
content: string;
|
||||
category: string;
|
||||
slug: string;
|
||||
publishedAt?: string;
|
||||
createdAt: string;
|
||||
date: string;
|
||||
image?: string;
|
||||
}
|
||||
|
||||
export async function generateStaticParams() {
|
||||
|
||||
Reference in New Issue
Block a user