Skip to content

screenshots not coming with unique name from 3.7.0 #5065

@JoeAnantham

Description

@JoeAnantham

I am using codeceptjs 3.7.3 with Playwright along with mochawesome

While getting screenshot(default) at the failure, it takes the screenshot and name it with scenario name.failed.png. But I am using data table to execute the same scenario with multiple states. while there are many failures, screenshots come with same name and gets replaced.

When executing same scenario for 10 different states using datatable and if 8 of them failed, I get only one screen shot because of the same name. Is there any workaround or fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions