Hello Team, We're trying to change default HTML report file name generated by playwright from index.html to e2ereport_datetimestamp, by using outputFile property in `playwright.config file, const { devices } = require('playwright');
reporter: [[ ['html', { outputFile: e2ereport_${new Date().toISOString()}.html
}]],
But somehow its still generating index.html file on local, can some please suggest if anything missing here?
This thread is trying to answer question "How to change the default HTML report file name in Playwright to include a timestamp?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].