Releases: gemini-testing/html-reporter
v10.17.0
This release adds API for DOM snapshots uploading (e.g. to S3) and improves backwards compatibility between html-reporter versions.
🚀 Improvements
API for DOM snapshots uploading
We've added a new API that you can use to upload DOM snapshots to custom locations.
When this can be useful: if you want to upload zip files with snapshots to some external storage like S3, you can do it by overriding htmlReporter.snapshotsSaver object as shown below:
const MyStorage = require('my-storage');
const myStorage = new MyStorage();
module.exports = (testplane, opts) => {
testplane.on(testplane.events.INIT, async () => {
testplane.htmlReporter.snapshotsSaver = {
saveSnapshot: async (localFilePath, options) => {
const { destPath, reportDir } = options;
const snapshotUrl = await myStorage.save(localFilePath, destPath, reportDir);
// ...
return snapshotUrl;
}
}
});
};Backwards compatibility & better DB formats handling
Starting from this release, we guarantee all future html-reporter versions to work with current sqlite db format.
Without diving into technical details, for most users it means that after updating html-reporter you will never have any issues if you try to launch GUI and re-use old report. Also, now, if something's wrong with your report, when trying to launch GUI, html-reporter will automatically create backup and start from scratch.
🐛 Bug fixes
- We no longer throw an error if you are trying to use
merge-reportscommand with a single report
v10.16.4
v10.16.3
This release contains small bug fixes, that affect users with Testplane versions prior 8.26.0.
🐛 Bug fixes
- Restored compatibility with older Testplane versions, that didn't have
recordoption - Removed useless warning about missing snapshots when snapshots are not available at all
v10.16.1
v10.16.0 — Enhancing search!
In this release, we've added intelligent tests search, new search modes and more!
🚀 Improvements
Intelligent search
With new "sort by relevance" option, that gets enabled automatically, search understands your intent like never before. No matter how many typos you make, the most relevant tests would be shown at the top of the list.
We've also implemented two new search modes: regex and match case, so now you can filter your tests even more precisely.
v10.15.2 — Introducing Time Travel!
In this release, we are happy to announce a major overhaul to a Time Travel feature, that lets you replay what was going on during a test run, and more!
🚀 Improvements
Time Travel
Time Travel is a new tool that let's you observe browser window in real-time during a test run and replay a recording after test is done executing. Time Travel is available for all html-reporter users that have Testplane v8.27.1 or above.
Note
This is not a video recording of your test run, but rather a series of incremental snapshots, which enables things like debugging css selectors on your test pages and doesn't take much space on a disk.
To get started with Time Travel, just enable snapshots recording in Testplane config:
export = {
/* ... */
record: "last-failed-run", // You can also set it to "on" or "retries-only" to enable recordings for retries only
};Please refer to our guide to learn more.
Highlighting of step duration in timeline
Steps & timeline syncing both ways
Other enhancements
- Player UI now feels a lot more fluid & responsive thanks to new animations and transitions
- Snapshots loading is now smooth & shows progress when loading is not instant
- Added handling of broken snapshots/missing snapshots files
- Color scheme changes during test are now recorded & replayed
- Player has now fixed size on mount and won't jiggle if browser window size changed during test
v10.14.1
🐛 Bug fixes
- Fix diff mode select by @Hypnosphi in #634
v10.14.0 — Jest support & better error handling in New UI!
This release adds an integration with Jest framework and further enhancements to New UI.
🚀 Improvements
Jest support
We're happy to announce that html-reporter is now compatible with Jest! Whether you are using Testplane, Playwright or Jest — you can view test results in a single UI, which leads to more unified & streamlined developer experience!
To get started with Jest integration, make sure you have html-reporter installed:
npm i -D html-reporterAnd then add it to your Jest config as a reporter:
const config = {
reporters: [
'html-reporter/build/jest.js',
/* ...other Jest reporters */
],
};After running your Jest tests, report will appear in html-report folder by default. Read our article to find out more!
One limitation though: GUI mode for Jest is not yet supported. This means that you can't run your tests from our UI — only view results after running Jest directly.
Better error handling in New UI
We've worked on better error handling across the whole app — now if anything goes wrong, it goes wrong with style.
Images prefetching
We've added images prefetching in New UI to make working with screenshots even better. Now, most of the time you open up a test result, all images are already there and you don't need to wait!
v10.13.2
v10.13.1
⚙️ Internal changes
This release contains changes related to UI usage data tracking. Starting from this version, we send anonymous UI usage data unless you opt-out.
All data is completely anonymous, is not associated with you or your project. We never send anything related to your reports data or your project's tests. These are some examples of what we can see:
- How often you use certain buttons in the UI, like "run tests" or "accept screenshot"
- Loading speed of the UI
- Which type of UI you prefer: old vs new
You can help us improve the overall UX by allowing analytics of UI usage data.
If you want to opt-out, you can do so by following instructions on this page.





