feat: complete SSR CRM and refine auth UI
Quality / quality (ubuntu-latest) (push) Failing after 11m17s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-20 16:17:59 +05:30
parent f57bd05a03
commit cd0dffa87d
49 changed files with 1640 additions and 139 deletions
+12
View File
@@ -263,6 +263,18 @@ test("auth form uses package schemas, disables native validation, and renders a
expect(html).toContain('fullWidth="true"');
});
test("password controls provide matching lock and visibility affordances", () => {
const toggle = readFileSync(uiComponentPath("TogglePassword"), "utf8");
const strong = readFileSync(uiComponentPath("StrongPassword"), "utf8");
const button = readFileSync(uiComponentPath("Button"), "utf8");
expect(toggle).toContain("wrn-next__password-leading-icon");
expect(strong).toContain("wrn-next__strong-password-leading-icon");
expect(strong).toContain("wrn-next__strong-password-toggle");
expect(strong).toContain("type=\"{revealed ? 'text' : 'password'}\"");
expect(button).toContain("data-full-width=\"{fullWidth ? 'true' : 'false'}\"");
});
test("footer supports typed entries, responsive columns, pre/post slots, and events", () => {
const source = readFileSync(uiComponentPath("Footer"), "utf8");
expect(source).toMatch(/<slot\s+name="pre-footer"\s*>/);