Test a local web app
Use Dea to exercise your running app in a real Chromium browser and collect evidence about what succeeded or failed.
Before you start#
Open the app's project folder in Dea, connect your agent, and start the app's development server using that project's documented command. Note the actual URL printed by the server. The examples below assume http://localhost:3000; replace it if your app uses another port.
Ask for a bounded test#
Use Dea to test the app at http://localhost:3000.
Open a tab named app-test, check that it renders, and test the sign-up
form's empty-field validation without creating an account.
Report what you observed, including console or request errors.Specify the flow, test data, and whether the agent may submit or create records. A useful report includes the tested URL, actions, expected outcome, observed outcome, and evidence.
A reliable testing sequence#
The agent should inspect the page, identify real controls, act with browser input, and verify the result. check_page detects blank renders, uncaught errors, and failed page loads. Request-level checks need network capture enabled.
For requests made during initial load, the agent should open the test tab, call arm_network, and then navigate to the app. Arming after the load cannot recover traffic that was not captured.
For an asynchronous form submission, wait for a visible confirmation or the relevant response. A click completing, a button becoming disabled, or the absence of a console error does not prove that the record was saved.
Compare screen sizes#
Open named tabs such as app-desktop and app-phone, apply a viewport to each, and test the same flow. Device and viewport settings apply per tab. See Test screen sizes and devices.
After a code change#
Let the development server update the page, or reload when appropriate. Re-run the affected flow and call check_page. Use the returned event sequence to distinguish new errors from earlier ones when diagnosing a fix.
Screenshots help explain visual failures. Save them with a descriptive name and include the resulting path in the report. A successful page health check supports the tested page state; it is not coverage of every user journey or every browser engine.
If it fails#
- Connection refused: confirm the development server is running at the stated URL.
- Blank page: read
check_pageand console events before relying on a screenshot. - Missing request: arm capture, then reproduce the request.
- Wrong account or data: verify the selected profile and workspace.
The agent workflow examples show concrete tool arguments.