Closed
Description
🚀 Feature Request
Hi, I'd like to have the option to modify HTML report title based on the test execution.
UseCase: Run API tests which in response header return the current version of the application under test. This version appears in the report title.
I've tried to set the title HTML reporter option dynamically based on ENV variable. But the playwright.config.ts is loaded before the test execution so I cannot affect it retrospectively.
So I've tried to set it dynamically using process.env.PLAYWRIGHT_HTML_TITLE = App Version: ${version} directly in the test, but the value (title) has not changed.
Example
No response
Motivation
Possibility to ehnace the HTML test report by additional information.