Docs

Testing

Notes for manual verification steps. Future test scripts should be based on these.


Startup Defaults (src/config-schema.js)

Verifies that Tranquil’s default core.disabledPackages list is correct.

Schema unit check (no app launch required)

node -e "const s = require('./src/config-schema'); console.log(s.core.properties.disabledPackages.default)"

Expected output: [ 'wrap-guide', 'welcome', 'github', 'deprecation-cop', 'fuzzy-finder', 'symbols-view' ]

Full end-to-end (simulates fresh install)

  1. mv ~/.tranquil/config.cson ~/.tranquil/config.cson.bak
  2. yarn start
  3. Open Settings → Packages, confirm wrap-guide, welcome, github, deprecation-cop, fuzzy-finder, and symbols-view show as disabled
  4. mv ~/.tranquil/config.cson.bak ~/.tranquil/config.cson

“Add URL to Tree View” Button (tranquil-browser)

Clicking the button should write a .url file into the first open project folder.

Manual test

  1. Open a project folder in Tranquil
  2. Open a browser tab and navigate to any URL
  3. Click the “add URL to tree view” button in the browser toolbar
  4. A modal input should appear pre-filled with the page title (or hostname as fallback)
  5. Edit the filename if desired and press Enter (Escape to cancel)
  6. Confirm a <filename>.url file appears in the project root in the tree view
  7. Open the file and confirm it contains [InternetShortcut] and the correct URL

Edge cases

  • No project open: should show a warning notification, not crash
  • Press Escape: modal closes, no file created
  • Empty filename: modal closes, no file created