Skip to content

v9.6.0

Latest

Choose a tag to compare

@shadowusr shadowusr released this 18 Nov 22:58

This release adds support for opt-in network data recording in Time Travel snapshots.

🚀 Improvements

  • New networkRequests events are emitted by testplane for supported browsers, that can be consumed by plugins to save requests/responses data that happen inside the browser

  • To opt-in, set network to true in the Time Travel config:

    timeTravel: {
        mode: TimeTravelMode.LastFailedRun,
        network: {
            enabled: true,
            // You can also configure max request/response body size. If exceeded, only metadata will be saved.
            maxBodySizeBytes: 10 * 1024 * 1024 },
    },
    
  • We recommend to enable network requests recording only for debugging or limited cases like TimeTravelMode.LastFailedRun, because otherwise report size may grow substantially

  • While exact Time Travel snapshot with network data recording enabled may vary, you can expect one attempt to weigh around 2MB, compressed

⚠️ Warning: network requests recordings may contain sensitive data. HTML Reporter tries to hide known sensitive data patterns, but you can add your rules. Learn more in HTML Reporter news.