feat(AppHeader): enhance breadcrumb navigation and add mobile search … #542
changeset-release.yml
on: push
Changeset Release
2m 9s
Annotations
3 errors
|
Changeset Release
Process completed with exit code 1.
|
|
apps/console/src/__tests__/PageView.test.tsx > PageView Integration > should show 404 for unknown pages:
apps/console/src/__tests__/PageView.test.tsx#L86
TestingLibraryElementError: Unable to find an element with the text: Page Not Found. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="h-full flex items-center justify-center p-8"
>
<div
class="flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12"
data-slot="empty"
>
<div
class="text-lg font-medium tracking-tight"
data-slot="empty-title"
>
页面未找到
</div>
<div
class="text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4"
data-slot="empty-description"
>
页面 "
unknown_page
" 不存在。
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ apps/console/src/__tests__/PageView.test.tsx:86:19
|
|
apps/console/src/__tests__/ObjectView.test.tsx > ObjectView Component > renders error when object is not found:
apps/console/src/__tests__/ObjectView.test.tsx#L118
TestingLibraryElementError: Unable to find an element with the text: Object Not Found. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="h-full p-4 flex items-center justify-center"
>
<div
data-testid="empty"
>
<div
data-testid="empty-title"
>
对象未找到
</div>
<div
data-testid="empty-description"
>
对象 "
unknown_object
" 在当前配置中不存在。
</div>
</div>
</div>
</div>
</body>
❯ Object.getElementError node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/.pnpm/@testing-library+dom@10.4.1/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ apps/console/src/__tests__/ObjectView.test.tsx:118:23
|