Releases: gemini-testing/html-reporter
v10.18.6
This releases contains bug fixes that improve overall UX.
🐛 Bug fixes
- Copying suite ID and suite URL works correctly in old UI now, including in
http
environment. - Scrolling in old UI should be as smooth as possible now, with many fixes implemented for correct computation of screenshot sizes.
merge-reports
command should no longer fail in rare circumstances with error during creation ofdatabaseUrls.json
.
v10.18.5
v10.18.4
This release adds a simpler way to turn on New UI for the whole project and contains bug fixes, improving overall experience.
Turn on New UI for the whole project at once
With the new option, uiMode
it's never been easier to migrate to New UI! Take a look:
// testplane.config.ts
exports = {
plugins: {
'html-reporter/testplane': {
enabled: true,
uiMode: 'new',
},
},
};
With this setting, all users will be redirected to new ui, unless they specifically chose to use old UI by clicking the "return to the old UI" button.
Bug fixes
Test counters in old UI are now working much more reliably!
v10.18.3
v10.18.2
v10.18.1
v10.18.0 — Time Travel is now stable!
This PR contains enhancements to Time Travel feature across the board, including show/hide button, moving out of experimental and adding "use recommended settings" toggle. You can now change playback speed in player as well.
Read more in our blog at https://testplane.io/blog/time-travel-release/
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