diff --git a/src/layouts/AppLayout.test.mjs b/src/layouts/AppLayout.test.mjs index 4ad0ffd..eef11da 100644 --- a/src/layouts/AppLayout.test.mjs +++ b/src/layouts/AppLayout.test.mjs @@ -55,6 +55,13 @@ test('source contract: keeps route context and user identity in the compact head assert.doesNotMatch(routerSource, /showPageHeading|showTenantName/) }) +test('source contract: renders the complete route breadcrumb before page content', () => { + assert.match(layoutSource, /import \{ getFirstAccessiblePath, getRouteBreadcrumbs \} from '@\/navigation\/clientNavigation'/) + assert.match(layoutSource, /const breadcrumbs = computed\(\(\) => getRouteBreadcrumbs\(route\.path, String\(pageTitle\.value\)\)\)/) + assert.match(layoutSource, /