mattheworiordan / capybara-screenshot

Automatically save screen shots when a Capybara scenario fails
MIT License
1.01k stars 168 forks source link

warning about cucumber 5 logged every time screenshot generated #272

Closed alan-giles-zesty closed 3 years ago

alan-giles-zesty commented 4 years ago

WARNING: #embed(file, mime_type, label) is deprecated and will be removed after version 5.0.0. Please use attach(file, media_type) instead. (Called from xxx/capybara-screenshot-1.0.24/lib/capybara-screenshot/cucumber.rb:24:in `block (2 levels) in <top (required)>')

mattheworiordan commented 3 years ago

This is now resolved, see https://github.com/mattheworiordan/capybara-screenshot/pull/274