test: expand exporter/css/a11y/i18n regressions and add e2e skip-link focus check
CI / test (pull_request) Successful in 52s

This commit is contained in:
2025-11-14 20:10:50 +09:00
parent 7a0bfcf60f
commit f039fd6ab4
27 changed files with 1045 additions and 19 deletions
+7
View File
@@ -37,6 +37,11 @@ const sectionTestimonialsSchema = z.object({
props: z.object({ items: z.array(z.object({ author: z.string().min(1), quote: z.string().min(1) })).min(1) }),
})
const sectionBenefitsSchema = z.object({
type: z.literal('benefits'),
props: z.object({ items: z.array(z.string().min(1)).min(1) }),
})
// 확장: hero, faq, cta, features, testimonials 허용
const sectionSchema = z.union([
sectionHeroSchema,
@@ -44,6 +49,7 @@ const sectionSchema = z.union([
sectionCtaSchema,
sectionFeaturesSchema,
sectionTestimonialsSchema,
sectionBenefitsSchema,
])
const baseField = {
@@ -52,6 +58,7 @@ const baseField = {
required: z.boolean().optional().default(false),
pattern: z.string().optional(),
maxLength: z.number().int().positive().optional(),
help: z.string().optional(),
}
const textField = z.object({ type: z.literal('text'), ...baseField })