Refine management terminal logs and command UX
This commit is contained in:
@@ -292,9 +292,23 @@ describe("first-party console pages", () => {
|
||||
|
||||
it("renders management terminal as a large command console with quick commands", () => {
|
||||
expect(serverLiveOperationsSource).toContain("management-terminal-drawer");
|
||||
expect(serverLiveOperationsSource).toContain("terminal-output-topbar");
|
||||
expect(serverLiveOperationsSource).toContain("terminal-command-dock");
|
||||
expect(serverLiveOperationsSource).toContain("terminalQuickCommands");
|
||||
expect(serverLiveOperationsSource).toContain("setCommand(item.command)");
|
||||
expect(serverLiveOperationsSource).toContain("terminalQuickCommandCatalog");
|
||||
expect(serverLiveOperationsSource).toContain("terminalQuickCommandsForPlugin");
|
||||
expect(serverLiveOperationsSource).toContain("selectQuickCommand(item)");
|
||||
expect(serverLiveOperationsSource).toContain("hideHeader");
|
||||
expect(serverLiveOperationsSource).toContain("handleCommandKeyDown");
|
||||
expect(serverLiveOperationsSource).toContain("commandHistory");
|
||||
expect(serverLiveOperationsSource).toContain("ArrowUp");
|
||||
expect(serverLiveOperationsSource).toContain("listServerLiveLogs");
|
||||
expect(serverLiveOperationsSource).toContain("queryLogStream");
|
||||
expect(serverLiveOperationsSource).toContain("terminalLogPollMs = 1000");
|
||||
expect(serverLiveOperationsSource).toContain("logStreamPollMs = 5000");
|
||||
expect(serverLiveOperationsSource).toContain("mergeTerminalLines");
|
||||
expect(serverLiveOperationsSource).toContain("nextCursorSeq");
|
||||
expect(serverLiveOperationsSource).toContain("initialLogCursor");
|
||||
expect(serverLiveOperationsSource).not.toContain("SaveWorld");
|
||||
});
|
||||
|
||||
it("renders plugin catalog bridge readiness", () => {
|
||||
|
||||
Reference in New Issue
Block a user