25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(test): wait for async DDL editor on busy CI (#12953)
luo jiyin6c8ce7ed363e
diff --git a/apps/desktop/src/components/structure/__tests__/TableStructureEditor.ddlTabLifecycle.spec.ts b/apps/desktop/src/components/structure/__tests__/TableStructureEditor.ddlTabLifecycle.spec.tsindex d0caf279e2..432c31f2d0 100644--- a/apps/desktop/src/components/structure/__tests__/TableStructureEditor.ddlTabLifecycle.spec.ts+++ b/apps/desktop/src/components/structure/__tests__/TableStructureEditor.ddlTabLifecycle.spec.ts@@ -269,7 +269,7 @@ describe("TableStructureEditor DDL tab lifecycle", () => {app.mount(root);const content = () => root.querySelector(".cm-content")?.textContent ?? "";const toggle = () => root.querySelector<HTMLButtonElement>('[role="switch"]')!;- await vi.waitFor(() => expect(content()).toMatch(/PARTITION BY\s+HASH/));+ await vi.waitFor(() => expect(content()).toMatch(/PARTITION BY\s+HASH/), { timeout: 5000 });expect(content()).not.toContain("PCTFREE");expect(toggle().getAttribute("aria-checked")).toBe("true");toggle().click();