Drop the screenshot tests and the moon-disc module; just test runs every lib package
CI / test (push) Successful in 1m12s
Deploy to the handset / build-and-deploy (push) Failing after 1m31s

- Tests that only wrote PNGs to look at are gone: desktop, overview (and its overview_shot
  helper), editor, emoji picker, launcher/Icon Desktop and dock screenshots. They were among
  the slowest in the suite; the behaviour they touched has its own tests.
- moon-disc never had source in the tree, so every fresh panel said "Module 'moon-disc' not
  found". It is out of the default panel, and a saved panel drops it (migrate_panel). The
  settings module's sample rows and labels no longer mention it.
- The settings module lists Show Desktop under "Apps and windows", with a description.
- just test ran lib/taskbar, lib/layoutpick and lib/modmgr, which no longer exist, so the wasm
  lib tests failed to start; it now runs every package in lib/ (83 tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Opus 5.5 committed 2026-11-30 13:05:40 -08:00
1 parent e2dc2bb930
commit 7ce5b79af2
13 files changed
+20 -270

No files matched your search

-33
View File
@@ -77,36 +77,3 @@ test "the open Applications menu gets its rows' icons and draws them" {
assert_false(comp.shell.icon_app_ids().contains("app5"))
comp.shell.shutdown()
}
///| For a look: the menu and the Icon Desktop with theme icons (whatever the machine's hicolor
/// theme has for these names; letter tiles or the generic icon where it has nothing). Writes
/// _build/launcher_icons_themed.png and _build/desktop_icons_themed.png.
test "screenshots: Applications menu and Icon Desktop with theme icons" {
let comp = desk_comp("ishot")
let apps = [
("org.libreoffice.Writer", "Writer", "Word processor", "libreoffice-writer"),
("org.libreoffice.Calc", "Calc", "Spreadsheets", "libreoffice-calc"),
("org.libreoffice.Impress", "Impress", "Presentations", "libreoffice-impress"),
("org.libreoffice.Draw", "Draw", "Drawings and diagrams", "libreoffice-draw"),
("xterm", "XTerm", "Terminal emulator", "xterm-color"),
("gvim", "GVim", "Text editor", "gvim"),
]
comp.shell.apps.clear()
for a in apps {
comp.shell.apps.push({ id: a.0, name: a.1, comment: a.2, category: "", glyph: "" })
comp.shell.exec.set(a.0, a.0)
comp.shell.icon_names.set(a.0, a.3)
comp.shell.icon_handles.remove(a.0)
}
comp.shell.apps_dirty = true
assert_true(comp.shell.set_desktop("icon-desktop"))
ignore(comp.compose_frame())
ignore(@sys.write_file_bytes("_build/desktop_icons_themed.png", @renderer.encode_png(comp.compose_frame())))
comp.shell.toggle_launcher()
for _ in 0..<10 {
@sys.sleep_ms(30)
ignore(comp.compose_frame())
}
ignore(@sys.write_file_bytes("_build/launcher_icons_themed.png", @renderer.encode_png(comp.compose_frame())))
comp.shell.shutdown()
}