Skip to content

can't rename file #155

@NikolaMandic

Description

@NikolaMandic

I've tried
Capybara::Screenshot.register_filename_prefix_formatter(:cucumber) do |scenario|
"screenshot_#{scenario.name.split(" ".join("_"))}"
end
in env.rb of cucumber spec but it won't work with screenshot_and_save_page
any tips?
tried to debug but it's like it does not get called at all

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions