Skip to content

Instantly share code, notes, and snippets.

@stevehodgkiss
Created April 19, 2011 10:07
Show Gist options
  • Save stevehodgkiss/927084 to your computer and use it in GitHub Desktop.
Save stevehodgkiss/927084 to your computer and use it in GitHub Desktop.
Automatically save and open page when a @wip scenario fails
After do |scenario|
if scenario.failed? && scenario.source_tag_names.include?("@wip")
save_and_open_page
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment