Merge pull request #1010 from bbassie/feature/plugin-browser

Plugin management through web interface
This commit is contained in:
Bastiaan authored and GitHub committed 2026-10-27 21:32:51 +00:00
1 parent e36a76acc5
commit ffe82f81d8
48 files changed
+4275 -536

No files matched your search

+14 -1
View File
@@ -15,7 +15,7 @@ import {
spawnNode, instancesDir, factorioDir, databaseDir, controllerConfigPath,
requiresFactorio, hasFactorio,
} from "./index.js";
import { slowTest } from "../common.js";
import { externalTest, slowTest } from "../common.js";
import { getTestRconPort } from "./rcon_port.js";
import { ControllerEcho, HostEchoReceived } from "../file/test_plugin/messages.js";
@@ -540,6 +540,19 @@ describe("Integration of Clusterio", function() {
// Install always fails, we can not test restart option
});
describe("controller plugin search", function() {
it("runs", async function() {
externalTest(this);
await execCtl("controller plugin search global_chat --page-size 5");
});
it("rejects invalid paging", async function() {
await assert.rejects(
execCtl("controller plugin search --page 0"),
/Invalid page or page size/
);
});
});
describe("controller update", function() {
it("runs", async function() {
await execCtl("controller update");