sincecutoff.com
← all changes

HTML reporter supports mergeFiles configuration

Introduced 2026-07-24 · score 0.97

HOW TO USE IT

When using Playwright v1.62.0 or later, set the HTML reporter’s `mergeFiles` option to `true` in the config to group tests by their top-level `test.describe()` title.

import { defineConfig } from '@playwright/test'; export default defineConfig({ reporter: [['html', { mergeFiles: true }]], });

WHY THIS HELPS

Enable merged file grouping in the HTML report from the Playwright config.

BEFORE THIS CHANGE

Merge files grouping was previously available only as a UI toggle.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.62.0
  • reporter: [['html', { mergeFiles: true }]]: HTML reporter configuration; `mergeFiles` is an optional boolean that groups tests by their top-level `test.describe()` title instead of by file.
  • Prerequisite: Playwright v1.62.0 or later; `mergeFiles` was introduced in v1.62.0.
  • The Merge files grouping was previously only a UI toggle.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card