New Features & Tweaks (Cucumber <= 1.3.20 required)#46
Open
azohra wants to merge 2 commits intocheezy:masterfrom
azohra:cucumber_1.3_new_features
Open
New Features & Tweaks (Cucumber <= 1.3.20 required)#46azohra wants to merge 2 commits intocheezy:masterfrom azohra:cucumber_1.3_new_features
azohra wants to merge 2 commits intocheezy:masterfrom
azohra:cucumber_1.3_new_features
Conversation
added 2 commits
November 28, 2015 16:08
…ort. PrettyFace will take a hash as input and break it into 2 rows (unbalanced preference = 2nd row for odd number of inputs).
…nd it is more common that people use table.rows_hash with cucumber. 1. Updated the logo to a more subtle personal creation (transparent png) 2. Added logic to format screenshot titles when you have more than 1 in a scenario 3. Added scenario runtime into the header of each scenario 4. Added step runtime into a new 3rd column of each step 5. Added a dedicated screenshots row + icon in the scenario table + CSS id for styling. 6. Added a dedicated debug/data row + icon in the scenario table + CSS id for styling. To use the feature, simply call PrettyFace::log_scenario_msg(some_data) from your After Scenario hook. To maximize prettyness, send the method a nicely formatted string which uses HTML styling 7. Tweaked the global CSS to increase density of content and scale for larger monitors. 8. From previous commit, added ability to pass a set of hash data to be displayed on the main page header. Simply call PrettyFace::set_header(hash) at some point during the run (good spot is at the start of hooks.rb)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
write test cases for new features