Manual testing
Desktop app
Manual tests for the desktop app: tunnels, ports, editors, your network, projects on your computer, and the menu bar.
Manual tests for the desktop app: tunnels, ports, editors, your network, projects on your computer, and the menu bar.
The Pest suite checks the server’s side (tickets, the gateway, the device provider against a fake relay), tests/Unit/TunnelScriptTest.php the sandbox’s tunnel, device-relay.test.mjs the Worker’s relay and cargo test the app’s pure parts. Nothing there runs them together. Use a build of the app (npm run desktop:dev) signed in to the install you’re testing; projects on a computer need an install whose gateway is the Cloudflare Worker (staging or onedrop.io), with the Worker deployed with DEVICE_RELAY.
OneDrop-mac-apple-silicon.dmg from onedrop.io in a browser and drag OneDrop to Applications. Opening it asks once (System Settings → Privacy & Security → Open Anyway), and never says it’s “damaged”. Until the Apple secrets exist, codesign --verify --deep --strict /Applications/OneDrop.app passes and shows Signature=adhoc..dmg, the Windows installer and the Linux .AppImage / .deb install and open.localhost address; Open shows the app in your browser at http://localhost:8081.psql -h localhost -p 5432 (or TablePlus) connects to the app’s database.Include line to ~/.ssh/config; the rest of the file is unchanged./workspace in the sandbox; saving a file shows the change in the app’s Files and the preview.ssh onedrop-<project> works in a terminal with the app’s window closed, and with the app quit.ssh then fails.python3 -m http.server 9999 and a local Postgres.localhost:9999 and localhost:5432 under Your network and turn on sharing.cat ~/.onedrop/network.json lists both hosts with local addresses, connected: true.curl http://127.0.0.1:<its address>/ in the Shell lists your folder; psql reaches your Postgres.curl -x http://127.0.0.1:7690 http://localhost:9999/ works; a host not on the list gets 403.network.json says connected: false and the addresses stop answering.docker ps shows its onedrop-project-… container.open onedrop://projects/<id> (or the browser’s Open in the desktop app) opens the project in the running app, and starts the app when it isn’t running.