v0.0.4
RustBox CI / rustbox (push) Waiting to run

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-30 00:23:11 +01:00
1 parent 93762fe9ef
commit 96a32ea8fb
17 files changed
+91 -34

No files matched your search

+5 -2
View File
@@ -102,6 +102,9 @@ def test_modular_js_contract():
assert "presetScaleUnlocked" in app
assert "positionToolbarMenu" in app
assert "progressToast" in app
assert "attachmentPreviewLimitBytes" in app
assert 'label: "Preview"' in app
assert "This attachment is too large for preview. Download it instead?" in app
assert "appearancePresets" not in app
assert "applyAppearancePreset" not in app
assert "src/web/js/manifest.txt" in (ROOT / "README.md").read_text()
@@ -116,7 +119,7 @@ def test_backend_skin_contract_and_version():
for value in ["rustbox", "roundcube-classic", "roundcube-larry", "roundcube-elastic", "clean", "gmail", "proton", "zoho", "outlook", "minimal", "graphite", "high-contrast", "fastmail", "apple-mail", "yahoo", "hey", "nord"]:
assert f'"{value}"' in db_source
cargo = (ROOT / "Cargo.toml").read_text()
assert 'version = "0.0.3"' in cargo
assert 'version = "0.0.4"' in cargo
config = (ROOT / "src/config.rs").read_text()
assert "pub default_theme: String" in config
assert '"system" | "dark" | "light"' in config
@@ -138,7 +141,7 @@ def test_mobile_003_contract():
assert ".message-meta.addresses-expanded" in responsive
pl = json.loads((ROOT / "src/web/i18n/pl.json").read_text())
assert len(pl.get("_text", {})) >= 450
for key in ["Rule enabled", "Stop after this rule", "Calendar", "Message headers", "Message source", "Forward as attachment", "Show headers", "Show source", "Write a message"]:
for key in ["Rule enabled", "Stop after this rule", "Calendar", "Message headers", "Message source", "Forward as attachment", "Show headers", "Show source", "Write a message", "Preview", "Download", "Preview unavailable"]:
assert key in pl["_text"]
for key in ["reply", "reply_all", "forward", "message_details", "move_copy", "move_to", "copy_to"]:
assert key in pl