Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

test(ui-page): render the automation settings fixture inside the router

Dash5220fa64ed92
diff --git a/apps/desktop/scripts/fixtures/automation-settings/fixture.tsx b/apps/desktop/scripts/fixtures/automation-settings/fixture.tsx
index 1486c6d5d2..e21f1f23a1 100644
--- a/apps/desktop/scripts/fixtures/automation-settings/fixture.tsx
+++ b/apps/desktop/scripts/fixtures/automation-settings/fixture.tsx
@@ -2,6 +2,8 @@ import { ComputerUseSection } from '../../../src/renderer/components/settings/Co
import { mountPage, subscription } from '../../ui-page/harness';
void mountPage({
+ // The section links to the plugin page, so it renders inside the app router.
+ route: '/settings',
host: (ctx) => ({
maker: {
plugins: {