diff --git a/frontend/e2e/node.test.ts b/frontend/e2e/node.test.ts
index 3ab1f6d2..7234be7a 100644
--- a/frontend/e2e/node.test.ts
+++ b/frontend/e2e/node.test.ts
@@ -13,44 +13,12 @@ test("Table of contents works", async ({ page }) => {
/table of contents/i,
);
- /** starts closed (due to small screen size) */
- await expect(page.locator(".toc button")).toHaveAttribute(
- "aria-expanded",
- "false",
- );
-
- /** click button to open */
- await page.locator(".toc").click();
- await expect(page.locator(".toc button")).toHaveAttribute(
- "aria-expanded",
- "true",
- );
-
- /** click off to close (with small screen size) */
- await page.locator("body").click({ position: { x: 500, y: 500 } });
- await expect(page.locator(".toc button")).toHaveAttribute(
- "aria-expanded",
- "false",
- );
-
- /** open again and check contents */
- await page.locator(".toc").click();
- await expect(
- page.locator(".toc", { hasText: /Overview/i }).first(),
- ).toBeVisible();
- await expect(
- page.locator(".toc", { hasText: /Hierarchy/i }).first(),
- ).toBeVisible();
- await expect(
- page.locator(".toc", { hasText: /Associations/i }).first(),
- ).toBeVisible();
-
/** check if solo selection mode works */
await page.locator(".toc .checkbox").click();
await expect(
page
.locator("main")
- .getByText(/Overview/i)
+ .getByText(/Ehlers-Danlos syndrome, hypermobility/i)
.first(),
).toBeVisible();
await expect(
diff --git a/frontend/e2e/search.test.ts b/frontend/e2e/search.test.ts
index 1d1fbc87..bdbaf48d 100644
--- a/frontend/e2e/search.test.ts
+++ b/frontend/e2e/search.test.ts
@@ -19,7 +19,7 @@ test("Recent/frequent results show", async ({ page }) => {
for (const node of nodes) {
await page.goto("/" + node);
- await expect(page.locator("#overview")).toBeVisible();
+ await expect(page.locator("#hierarchy")).toBeVisible();
}
await page.goto("/explore");
diff --git a/frontend/src/components/AppHeading.vue b/frontend/src/components/AppHeading.vue
index b140d582..1b96d267 100644
--- a/frontend/src/components/AppHeading.vue
+++ b/frontend/src/components/AppHeading.vue
@@ -148,4 +148,13 @@ section.fill {
}
}
}
+section.inset {
+ h1,
+ h2,
+ h3 {
+ margin-bottom: 1px;
+ padding-bottom: 3px;
+ border-bottom: 2px solid $theme;
+ }
+}
diff --git a/frontend/src/components/AppPredicateBadge.vue b/frontend/src/components/AppPredicateBadge.vue
index 83c6c135..8c5e4d0e 100644
--- a/frontend/src/components/AppPredicateBadge.vue
+++ b/frontend/src/components/AppPredicateBadge.vue
@@ -4,10 +4,10 @@
-
+
NOT
{{ startCase(getCategoryLabel(association.predicate)).toLowerCase() }}
-
+
@@ -24,6 +24,7 @@ type Props = {
reverse?: boolean;
/** whether to display arrows vertically */
vertical?: boolean;
+ arrows?: boolean;
};
const props = defineProps();
@@ -42,8 +43,6 @@ const arrowDirection = computed(() =>