Dánwò
Open-source (Apache-2.0) end-to-end testing framework for web and mobile apps, written in TypeScript. Tests drive the app like a user with locators or plain-English agent steps that are recorded once and replayed on later runs without model calls. The app runs behind an egress proxy answered by local emulators for Stripe, Clerk, Resend, Slack, Google and about 20 other providers at the real hostnames. Invariants run after the test to compare what providers say happened with what the app stored; `danwo matrix` replays a test once per injected fault (500/429, declined card, duplicate/late/forged/replayed webhook, double-submit, lost DB commit, Postgres outage); every run leaves a record with video, steps, provider calls, webhook deliveries and database statements, secrets redacted. Runs in Chromium, Firefox and WebKit plus the Android emulator and iOS Simulator, and ships an MCP server and skill so coding agents can write and run tests.
What it addresses
A UI test can pass ("Payment successful") while the card was charged twice, the webhook was handled twice, or the receipt email never went out — the gap between "the screen looks right" and "the right things happened".
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Dánwò
Open-source (Apache-2.0) end-to-end testing framework for web and mobile apps, written in TypeScript. Tests drive the app like a user with locators or plain-English agent steps that are recorded once and replayed on later runs without model calls. The app runs behind an egress proxy answered by local emulators for Stripe, Clerk, Resend, Slack, Google and about 20 other providers at the real hostnames. Invariants run after the test to compare what providers say happened with what the app stored; `danwo matrix` replays a test once per injected fault (500/429, declined card, duplicate/late/forged/replayed webhook, double-submit, lost DB commit, Postgres outage); every run leaves a record with video, steps, provider calls, webhook deliveries and database statements, secrets redacted. Runs in Chromium, Firefox and WebKit plus the Android emulator and iOS Simulator, and ships an MCP server and skill so coding agents can write and run tests.
Problem: A UI test can pass ("Payment successful") while the card was charged twice, the webhook was handled twice, or the receipt email never went out — the gap between "the screen looks right" and "the right things happened".
Posted by @faithfulojebiyi · Original source ↗
Story title · @faithfulojebiyi · · Source ↗
Show HN: Dánwò – Open-source E2E testing with emulators and fault injection
Submitted URL · @faithfulojebiyi · · Source ↗
https://github.com/carbonmeai/danwo
Source text · @faithfulojebiyi · · Source ↗
I built dánwò, an open-source (Apache-2.0) end-to-end testing framework for web and mobile apps, written in TypeScript.
Source text · @faithfulojebiyi · · Source ↗
a UI test can click "Pay", see "Payment successful" and pass, while the card was charged twice, the webhook was handled twice, or the receipt email never went out.
Source text · @faithfulojebiyi · · Source ↗
Tests drive the app like a user, with locators or plain-English agent steps. An agent step calls a model once; danwo records the actions and replays them on later runs with no model calls, so CI doesn't need an API key.
Source text · @faithfulojebiyi · · Source ↗
Calls to Stripe, Clerk, Resend, Slack, Google and about 20 other providers are answered by local emulators at the real hostnames, so there are no sandbox keys and no code changes.
Source text · @faithfulojebiyi · · Source ↗
An invariant is a check that runs after the test and compares two sides: what the provider says happened (charges, emails, messages) and what your app stored.
Source text · @faithfulojebiyi · · Source ↗
`danwo matrix` replays a test once per fault it could meet: a 500 or 429 from a provider, a declined card, a duplicate, late, forged or replayed webhook, a double-submit, a database commit whose reply is lost, Postgres unreachable for a few seconds.
Source text · @faithfulojebiyi · · Source ↗
Every run leaves a flight record: video, each step, every provider call, webhook delivery and database statement, with secrets redacted.
Source text · @faithfulojebiyi · · Source ↗
It runs in Chromium, Firefox and WebKit, and on the Android emulator and iOS Simulator. It ships an MCP server and a skill, so coding agents (Claude Code, Cursor, Codex) can write and run tests and fix what fails.
Source text · @faithfulojebiyi · · Source ↗
https://danwo.dev/docs/quickstart