Last active
December 25, 2015 05:09
-
-
Save buger/6922051 to your computer and use it in GitHub Desktop.
TestUnit CircleCI screenshots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def teardown | |
@driver.save_screenshot File.join(ENV['CIRCLE_ARTIFACTS'], Time.now.strftime("%F_%H%M%S") + "_" + @method_name + ".png") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment