推进 INI 面板 control-page refresh workflow helper
This commit is contained in:
@@ -64,6 +64,7 @@ TOOL_TABLE = browser-tool.tbl
|
||||
if (
|
||||
!controlPageApi?.getControlView ||
|
||||
!controlPageApi?.getPanelApi ||
|
||||
!controlPageApi?.refreshControlPage ||
|
||||
!controlPageApi?.renderControlPage
|
||||
) {
|
||||
throw new Error("control page API namespace did not expose control helpers");
|
||||
@@ -82,6 +83,11 @@ TOOL_TABLE = browser-tool.tbl
|
||||
() => controlPageApi.getControlView(),
|
||||
"control page API view",
|
||||
);
|
||||
assertEqual(
|
||||
controlPageApi.refreshControlPage().phase,
|
||||
"rendered",
|
||||
"control page refresh phase",
|
||||
);
|
||||
|
||||
panelDoc.getElementById("ini-editor").value = iniText;
|
||||
panelDoc.getElementById("query").click();
|
||||
|
||||
Reference in New Issue
Block a user