Merge issue-52-content-A (Refs #52)

This commit is contained in:
shadowdao committed 2026-10-07 12:37:19 -07:00
commit cb887bc02f
6 files changed
+571 -8

No files matched your search

@@ -53,7 +53,9 @@ describe('SectionLibraryModal', () => {
h.act(() => openSectionLibrary());
const chip = (l: string) => $$('.section-lib-chip').find((c) => c.textContent === l)!;
h.act(() => chip('Hero').click());
expect($$('.section-lib-card').map((c) => c.dataset.sectionId)).toEqual(['hero-centered']);
const heroIds = $$('.section-lib-card').map((c) => c.dataset.sectionId);
expect(heroIds).toContain('hero-centered');
expect(heroIds.every((id) => id!.startsWith('hero-'))).toBe(true);
h.act(() => chip('All').click());
type($('.section-lib-search') as HTMLInputElement, 'form');
expect($$('.section-lib-card').map((c) => c.dataset.sectionId)).toContain('contact-form');