Releases: gemini-testing/html-reporter
v10.18.1
v10.17.1
This release brings a few quality of life changes like quick show/hide tree button and some internal updates as well as bug fixes.
π Improvements
- What's that new mysterious button on the left? It's show/hide tree button! It's never been easier to go into fullscreen mode and back. We also now remember your preferred split view sections sizes even after page reload. This is what it looks like:
- We got rid of unnecessary code, so html-reporter UI should load now a tiny bit faster
- We also updated the uikit library that we use. You may notice that test status filter area got a new look!
π Bug fixes
- Restored compatibility with older hermione versions. Also we set up automated checks in place so that we can never break this again!
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-reports
command 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
record
option - 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-reporter
And 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!