Remove manual runtime controls from server detail
This commit is contained in:
@@ -178,15 +178,12 @@ async function main() {
|
||||
markers: [
|
||||
server.name,
|
||||
`${server.id} · 插件 ${server.pluginId}@${server.pluginVersion} · 节点 ${server.runEndpointId}`,
|
||||
"运行分发",
|
||||
"run 包",
|
||||
"客户端管理器",
|
||||
"依赖",
|
||||
"概览",
|
||||
"启动",
|
||||
"停止",
|
||||
"日志",
|
||||
"管理终端",
|
||||
"配置",
|
||||
"插件控制",
|
||||
"AI 助手",
|
||||
"操作历史"
|
||||
]
|
||||
@@ -206,8 +203,8 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
const pluginControls = await clickAndVerify(chrome, "插件控制", ["生产生命周期", "Logs 桥接执行", "server.logs.read", "server.artifacts.read", "读取"]);
|
||||
evidence.routes.push({ name: "服务器详情 / 插件控制", url: await chrome.url(), ...pluginControls });
|
||||
const pluginPage = await clickAndVerify(chrome, "概览", ["插件概览", "dev-game-plugin 页面 bundle", "server.instances.read"]);
|
||||
evidence.routes.push({ name: "服务器详情 / 插件声明页面", url: await chrome.url(), ...pluginPage });
|
||||
|
||||
evidence.productionInteractions = {
|
||||
alert: await verifyAlertInteraction(chrome, authHeaders, productionSeed.alert),
|
||||
@@ -392,12 +389,12 @@ async function verifyResponsiveThemeWalkthroughs(chrome, routeChecks, server) {
|
||||
await chrome.evaluate((serverID) => {
|
||||
window.location.hash = `#/servers/${encodeURIComponent(serverID)}`;
|
||||
}, server.id);
|
||||
await chrome.waitForText([server.name, "插件控制"], `${scenario.name} / server detail tabs`);
|
||||
const pluginControls = await clickAndVerify(chrome, "插件控制", ["生产生命周期", "Logs 桥接执行", "server.logs.read", "server.artifacts.read", "读取"]);
|
||||
await chrome.waitForText([server.name, "概览"], `${scenario.name} / server detail tabs`);
|
||||
const pluginControls = await clickAndVerify(chrome, "概览", ["插件概览", "dev-game-plugin 页面 bundle", "server.instances.read"]);
|
||||
const pluginLayout = await chrome.layoutSnapshot();
|
||||
assertNoVisibleLayoutIssues(pluginLayout, `${scenario.name} / plugin controls`);
|
||||
routeEvidence.push({
|
||||
name: "服务器详情 / 插件控制",
|
||||
name: "服务器详情 / 插件声明页面",
|
||||
url: await chrome.url(),
|
||||
requiredMarkers: pluginControls.requiredMarkers,
|
||||
fallbackScan: pluginControls.fallbackScan,
|
||||
|
||||
Reference in New Issue
Block a user