Overview
Have Devin click through your web app in its own browser along a list of user flows, write up each failure, fix the bugs it finds and return draft pull requests that a person reviews before merging.
Problem or Objective
- Which agents write or run tests against an application?
- Which agents turn an issue report into a fix?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Devin · GitHub
- Prerequisites
- A Devin account on an Individual or Teams plan (or, if your company already works with Cognition, permissions from your administrator or Cognition), repository access, and a staging or local build of the web app with test accounts.
How It Works
Write a short test plan for a staging or local build of your web app: the user flows to try (sign up, search, checkout with a test card, settings), what success looks like for each, and test accounts that hold no real data. Start a Devin session with the plan and the repository, and ask it to run the app, walk through each flow in its browser and note every failure with the steps, what it expected and what it saw. Watch the session or take over in the interactive browser when it gets stuck on a flow. For each confirmed failure, have Devin fix it on its own branch, add or update a test where the code allows it, repeat the flow to confirm the fix, and open a draft pull request that links the failure note. A person reviews each draft pull request, checks that CI passes and merges it; Devin does not merge.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Devin.
- Connect the toolsConnect the tools this workflow relies on: Devin, GitHub.
- Check the prerequisitesA Devin account on an Individual or Teams plan (or, if your company already works with Cognition, permissions from your administrator or Cognition), repository access, and a staging or local build of the web app with test accounts.
- Gather your detailsCollect what the prompt asks for: App to test, Repository, Test account with no real data, User flows to try, with what success looks like.
- Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.
Practical Starter Prompt: Walk the app and fix what breaks
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Run [App to test] from [Repository] on a local or staging build. Using the test account [Test account with no real data], walk through these flows in your browser: [User flows to try, with what success looks like]. For each flow, record pass or fail; for a failure, write the steps, what you expected and what happened. Then fix each confirmed failure on its own branch, add a test where possible, repeat the flow to confirm, and open a draft pull request that links the failure note. Do not merge anything and do not touch production data.Start this as a Devin session with access to the repository and a staging build. Watch or take over in the interactive browser if a flow stalls. A person reviews each draft pull request, waits for CI, and merges.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Devin docs say it can write, run and test code, test web applications it builds in its browser, and return draft pull requests for review, and they recommend tasks with clear success criteria. No cited page measures how many bugs such a walkthrough finds or misses.
Limitations and Considerations
A visual walkthrough only covers the flows you list, so keep your normal automated tests and CI as well. Use a staging build and test accounts, never production data or real payment details. Devin can be wrong about the cause of a failure, so read each diff, not just the summary. Devin offers Individual and Teams plans; if your company already works with Cognition, you request permissions from your administrator or Cognition. Check what your plan covers before starting. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Introducing Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Devin is an autonomous AI software engineer that can write, run and test code.
- Watch Devin browse through documentation, test web applications it builds, download/upload information, and more.
- You can jump in to help Devin navigate through browsing tasks via the Interactive Browser.
- When to Use Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Tasks with test suites, CI checks, or verifiable outcomes yield the best results.
- Return to draft PRs waiting for review.