Skip to content

Releases: gemini-testing/html-reporter

v10.17.0

08 May 21:44

Choose a tag to compare

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

05 May 01:51

Choose a tag to compare

🐛 Bug fixes

  • static accepter image load fail, if they are too many (#654)

v10.16.3

23 Apr 15:38

Choose a tag to compare

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

21 Apr 08:36

Choose a tag to compare

🐛 Bug fixes

  • ability to merge reports locally (#647)
  • do not require testplane when use report with other tools (#652)
  • do not fail with old version of testplane that not support record snapshots (#652)

⚙️ Internal changes

  • update looks-same version (#650)

v10.16.0 — Enhancing search!

21 Apr 08:21

Choose a tag to compare

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.

fuzzy

v10.15.2 — Introducing Time Travel!

04 Apr 20:31

Choose a tag to compare

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.

time-travel-demo-962b0b7fd61c491b6b54b5c867578f0b

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

output

Steps & timeline syncing both ways

output2

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

10 Feb 23:08

Choose a tag to compare

🐛 Bug fixes

v10.14.0 — Jest support & better error handling in New UI!

06 Feb 14:01

Choose a tag to compare

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!

proxy sandbox yandex-team ru_7947284713_new-ui html

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.

Critical Error Screen

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

06 Feb 09:18

Choose a tag to compare

🐛 Bug fixes

  • fix: populate plugin parsed config to source options so tool (like Testplane) could see, which configs html-reporter used (including defaults and env. variables overrides) (#629)

v10.13.1

15 Jan 10:17

Choose a tag to compare

⚙️ 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.