Commit Graph
16 Commits
Author SHA1 Message Date
Knotty Wyvern c66ea1ce83 Add a smoke test runner, a shared harness, and safer build scripts
- pnpm smoke runs tests/smoke/ in parallel. It starts Vite when nothing
  serves SMOKE_URL, finds an installed Chrome when Playwright has no
  Chromium, and skips a test with a reason when a requirement that the
  test declares with "// @requires" is missing. Logs go to
  output/smoke/logs/.
- tests/smoke/_harness/ holds the Playwright launch, page error
  collection, the Tauri IPC mock with an in-memory workspace, and output
  folders. tabs/order uses it as the first converted test.
- Pin Playwright 1.63.0, the version that browser-runtime uses.
- RUNESTONE_PLUGIN_REPOS names the folder of the sibling plugin
  checkouts for buildPlugins, the menu audit, and the smoke tests.
- buildInstaller restores the version fields after Ctrl+C, keeps the
  backups of each attempt, stops when the browser runtime is not staged,
  and writes the file name instead of absolute paths to host.json.
- buildPlugins clears the staged Table Formulas package before copying.
- plugins/choiceMenus used the wrong Local Autocomplete folder name.
2026-10-27 19:55:49 -07:00
Knotty Wyvern e433bed28e Move the tests from scripts/ to tests/ by feature
Unit tests go to tests/unit/<area>/, browser smoke tests to
tests/smoke/<area>/, and tests against a running desktop app to
tests/native/. Files named after dates, work passes, or Kanban cards get
feature names, for example editorOctober12 -> editor/footnotes.

scripts/ keeps the build, release, and package tools. Plugin repositories
import scripts/packagePlugin.mjs, and the Terminal smoke test imports
scripts/pluginMocks.mjs, which now re-exports the harness copy.

The unit tests get their own type check (tests/tsconfig.json) with Node
types. pnpm check runs it after the app check. Add @types/node and fix
the three test mocks that it reported.
2026-10-27 19:47:39 -07:00
Knotty Wyvern 90d1940c73 Make the checks pass on a fresh clone
- build.rs creates the empty browser-engine folder that tauri-build
  requires, so cargo test runs before the browser runtime is staged.
- The Table Formulas tests skip with a reason when the package is not
  built. Before, the missing module failed two whole test files.
- The installer test accepts CRLF checkouts and skips with a reason
  when the NSIS compiler is missing.
- hostTodo.spec.mjs never ran because of its extension. Its two valid
  background tests move to appearance.spec.ts with current defaults.
  The third test repeated an existing export test.
- Remove tsconfig.plugins.json. It checked the plugins/ folder, which
  moved to separate repositories in 0.1.7.
2026-10-27 19:41:08 -07:00
Knotty Wyvern 562ef87d24 Add workspace links, restore tabs, and update project guides 2026-10-21 21:05:48 -07:00
Knotty Wyvern 7c497ba569 Prepare 0.1.42 macOS Apple silicon release 2026-10-21 14:24:47 -07:00
Knotty Wyvern 42dd0fa711 Improve editor, plugin updates, and window transfers for 0.1.41 2026-10-21 10:42:44 -07:00
Knotty Wyvern 68e86ab6eb Add interface languages and improve themes and workspace controls for 0.1.36 2026-10-15 10:55:59 -07:00
Knotty Wyvern edef2520af Update editor, themes, menus, backgrounds, and release tooling 2026-10-14 16:19:51 -07:00
Knotty Wyvern f6eaa52949 Update the browser, editor, settings, and installer 2026-10-12 14:46:21 -07:00
Knotty Wyvern 909894b9c8 Update editor, workspace, Git services, appearance, and project guides 2026-10-11 09:41:16 -07:00
Knotty Wyvern a8b1defb9d Add completion, browser integration, and workspace improvements 2026-10-07 11:25:17 -07:00
Knotty Wyvern 5d0a4a24f9 Release RuneStone 0.1.7 with plugin documents and shared menus 2026-10-06 09:29:09 -07:00
Knotty Wyvern 6b7af0d527 Release RuneStone 0.1.4 with installable plugins and settings 2026-10-04 15:05:51 -07:00
Knotty Wyvern 0268c5c9f0 Release RuneStone 0.1.3 and expand plugin plans 2026-10-03 04:23:45 -07:00
Knotty Wyvern 43106ed9c7 Improve workspace navigation, search, and tab actions 2026-09-29 07:48:24 -07:00
Knotty Wyvern bdc15e952d Initial RuneStone project 2026-09-26 01:25:42 -07:00