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)
mv ~/.tranquil/config.cson ~/.tranquil/config.cson.bakyarn start- Open Settings → Packages, confirm
wrap-guide,welcome,github,deprecation-cop,fuzzy-finder, andsymbols-viewshow as disabled 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
- Open a project folder in Tranquil
- Open a browser tab and navigate to any URL
- Click the “add URL to tree view” button in the browser toolbar
- A modal input should appear pre-filled with the page title (or hostname as fallback)
- Edit the filename if desired and press Enter (Escape to cancel)
- Confirm a
<filename>.urlfile appears in the project root in the tree view - 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