Skip to content

options.outputTarget to output with a timestamp format #291

@nigel-jones-user

Description

@nigel-jones-user

I was wondering if it was possible to extend the output target to include a datetime with an additional timestamp formatting option
If the string is just [datetime] without the timestamp option it will default to isoDateTime.
e.g
outputTarget: {
'Cypress-output-[datetime].html': 'html',
},
timestamp: "yyyy-MM-dd_HHmm"

this would help when running multiple times during the day

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions