webui: Add aria snapshot testing
diff --git a/webui/src/web-components/sketch-app-shell.test.ts b/webui/src/web-components/sketch-app-shell.test.ts
index 0b3ae6a..6c1d1d6 100644
--- a/webui/src/web-components/sketch-app-shell.test.ts
+++ b/webui/src/web-components/sketch-app-shell.test.ts
@@ -34,6 +34,10 @@
// Default view should be chat view
await expect(component.locator(".chat-view.view-active")).toBeVisible();
+
+ await expect(component).toMatchAriaSnapshot({
+ name: "sketch-app-shell-basic.aria.yml",
+ });
});
const emptyState = {
@@ -85,4 +89,8 @@
await expect(component.locator("sketch-container-status")).toBeVisible();
await expect(component.locator("sketch-chat-input")).toBeVisible();
await expect(component.locator("sketch-view-mode-select")).toBeVisible();
+
+ await expect(component).toMatchAriaSnapshot({
+ name: "sketch-app-shell-empty.aria.yml",
+ });
});