Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the new UI.test_failure! in screengrab #8736

Merged
merged 1 commit into from Mar 31, 2017

Conversation

mfurtak
Copy link
Contributor

@mfurtak mfurtak commented Mar 31, 2017

Checklist

  • I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Description

Use the new UI.test_failure! in screengrab to handle test failures

Motivation and Context

To get the better success/failure semantics introduced in #8631

Use the new UI.test_failure! in screengrab to
handle test failures to get the better success/
failure semantics introduced in #8631
UI.user_error!("Tests failed", show_github_issues: false) if test_output.include?("FAILURES!!!")
else
UI.error("Tests failed") if test_output.include?("FAILURES!!!")
if test_output.include?("FAILURES!!!")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that for real? 😮

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES!!! 😉

@mfurtak mfurtak merged commit 947e806 into master Mar 31, 2017
@mfurtak mfurtak deleted the screengrab-handle-test-failures branch March 31, 2017 20:11
@fastlane-bot
Copy link

Hey @mfurtak 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

@fastlane-bot
Copy link

Congratulations! 🎉 This was released as part of fastlane 2.25.0 🚀

@fastlane fastlane locked and limited conversation to collaborators Jul 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants