About ng test recorder
π¬ Use your app. Get a Jest test. No code required.
ng test recorder records what you do in your Angular application βclicks, typing, navigation, backend callsβ and turns it into a Jest test that replays it exactly the same way, every single time.
No more hand-written mocks, chasing selectors or fighting async code: if you did it once in the browser, you already have the test.
ββββββββββββββββββββ
β‘ IN 4 STEPS
ββββββββββββββββββββ
1οΈβ£ Open your app (ng serve), click the icon and name your test.
2οΈβ£ Press Record and use the app as usual.
3οΈβ£ Stop recording and click what you want to check: a text, a value, an attributeβ¦ or any property of an Angular component.
4οΈβ£ Download the JSON. A single Jest launcher runs all your recordings.
ββββββββββββββββββββ
β
TESTS THAT DON'T FLAKE
ββββββββββββββββββββ
β’ The backend is replaced by the recorded responses: the test runs with no server, no network and no test data.
β’ Virtual clock: timers, dates and random numbers are exactly the same as when you recorded. Goodbye, flaky tests.
β’ The screen is compared with the recording at every step, so any change in behaviour shows up immediately and tells you where.
β’ Recording starts at page load: XHR, fetch, WebSocket, EventSource, iframes and sign-in with Keycloak or any other SSO.
β’ Compact recordings: anything repeated is stored only once, so even in large apps the test stays small and is generated without freezing the browser.
ββββββββββββββββββββ
π§© COMPONENT MODE FOR LARGE APPS
ββββββββββββββββββββ
Pick a single component (a search panel, a formβ¦) and the test mounts it in isolation, with its real children, without booting the app: its services, the changes to its @Inputs and the events coming from micro-frontends or web components are replayed exactly as recorded. Ideal for apps with in-house libraries, startup configuration or hot-loaded micro-frontends. Includes a diagnostic that tells you whether your app is compatible. To choose it, point at it on the page: if something covers it, Shift+wheel or the arrow keys move to the layer behind, and you can limit the selection by tag name. It recognises Module Federation micro-frontends (including components created on the fly) and, if the test needs their code, tells you exactly what to configure.
ββββββββββββββββββββ
βΆοΈ BUILT-IN PLAYER
ββββββββββββββββββββ
Load any test and watch it replay in the browser: the cursor moves, keys appear and every check turns green or red. Perfect for understanding a failing test or showing it to your team.
ββββββββββββββββββββ
π₯ MADE FOR
ββββββββββββββββββββ
β’ Angular teams who want more coverage without spending hours writing tests.
β’ QA engineers turning manual checks into automated tests.
β’ Reproducing a bug once and locking it down forever with a regression test.
ββββββββββββββββββββ
π YOUR DATA STAYS ON YOUR MACHINE
ββββββββββββββββββββ
No servers, no analytics, no accounts. Everything happens in your browser and a recording only leaves it when you download the JSON. Access to pages is requested the first time you record and can be revoked at any time.
π Requirements: Angular 15+ served in development mode (ng serve) and Jest with jest-preset-angular.
π Available in English, Spanish, French, Italian, German, Chinese and Japanese.
β¨οΈ Shortcut: Alt+Shift+R opens the panel and stops recording.
Read the full description