v0.38.4
This commit is contained in:
1 parent
9e81cce271
commit
185d5da6f9
31 files changed
+296
-199
No files matched your search
@@ -88,6 +88,12 @@ assert "saveAppearancePreference({ stable_dialog_position: next }" in preference
|
||||
assert 'html[data-stable-dialog-position="true"] dialog.vhost-dialog[open]' in editors_css
|
||||
assert openapi["components"]["schemas"]["AdminPreferences"]["properties"]["stable_dialog_position"]["default"] is True
|
||||
assert pl.get("stableDialogPosition") and pl.get("stableDialogPositionHelp")
|
||||
assert "ui-switch-controls" in id_set, "Appearance must expose the switch controls toggle"
|
||||
assert re.search(r"switch_controls:\s*true", preferences_js), "switch controls must default on in the panel"
|
||||
assert "applyAdminSwitchControls(value.switch_controls)" in preferences_js
|
||||
assert "saveAppearancePreference({ switch_controls: next }" in preferences_js
|
||||
assert openapi["components"]["schemas"]["AdminPreferences"]["properties"]["switch_controls"]["default"] is True
|
||||
assert pl.get("switchControls") and pl.get("switchControlsHelp")
|
||||
assert any(path.name == "icons.js" for path in sources), "semantic icon module must be embedded in app.js"
|
||||
|
||||
assert 'data-i18n="overviewExtraRecentSamples"' not in html, "Overview metric tiles must not show the redundant Recent samples footer"
|
||||
|
||||
@@ -51,5 +51,5 @@ const events = openapi.paths["/api/events"].get;
|
||||
const logsFlag = (events.parameters || []).find(parameter => parameter.name === "logs");
|
||||
assert.equal(logsFlag?.schema?.type, "boolean");
|
||||
assert.equal(logsFlag?.schema?.default, true);
|
||||
assert.equal(openapi.info.version, "0.38.3");
|
||||
assert.equal(openapi.info.version, "0.38.4");
|
||||
console.log("Panel refresh/API contract checks: OK");
|
||||
Reference in new issue
Block a user