Closed
Bug 667658
Opened 15 years ago
Closed 14 years ago
support rich formatting in test case steps
Categories
(Mozilla QA Graveyard :: MozTrap, enhancement)
Mozilla QA Graveyard
MozTrap
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: camd, Unassigned)
References
Details
Sometimes it would be good to be able to bold or italicize some text in the steps.
We could do this in HTML, or perhaps some other rich text language.
| Reporter | ||
Comment 1•15 years ago
|
||
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/15991015
| Reporter | ||
Comment 2•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
support line breaks. Perhaps using markdown for all of this.
| Reporter | ||
Comment 4•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
I wonder if we'd want to limit the markdown support. We currently show instruction as bold and expected as italics. If we start messing with that, it could get very inconsistent.
| Reporter | ||
Comment 5•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
Doing partial markdown support could be tricky. I'd say depending what the real use cases are, we either do full Markdown and consider it a "you break it, you get to keep the pieces" situation (i.e. just don't use formatting in steps if it doesn't look good), or we don't do Markdown at all for steps/expected and just hotlink URLs and convert linebreaks to HTML linebreaks (I think Django provides built-in filters for both of those).
| Reporter | ||
Comment 6•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
by partial support, I meant consider supporting it only in the description and not in these steps. Though in the steps would be nice, too. But description markdown is in a separate story.
adding the |markdown to the item in the template nullifies the existing bolding on instruction and italics on expected. So perhaps Eric can chime in how he feels about it.
| Reporter | ||
Comment 7•14 years ago
|
||
Eric Meyer changed story state to started in Pivotal Tracker
| Reporter | ||
Comment 8•14 years ago
|
||
Eric Meyer added a comment in Pivotal Tracker:
this is now on branch markdown-steps
| Reporter | ||
Comment 9•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
This is pretty cool. Not sure I like the >> thing though. Looks odd on the runtests page. Perhaps if it wasn't on the instruction part, and was only on the expected part it would look better.
| Reporter | ||
Comment 10•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
But, just to say, this is an awesome feature. I mentioned it in our QA meeting today and people were stoked about it. Been missing from Litmus.
| Reporter | ||
Comment 11•14 years ago
|
||
Eric Meyer added a comment in Pivotal Tracker:
Changed the use of '»'.
| Reporter | ||
Comment 12•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
Looks great! Go with it, man! :)
| Reporter | ||
Comment 13•14 years ago
|
||
Eric Meyer added a comment in Pivotal Tracker:
I've done what I can here. If it needs something more, I think that'd be Carl?
| Reporter | ||
Comment 14•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
yeah, I think it's all good. Carl: ready to deploy!
| Reporter | ||
Comment 15•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
There are certainly ways that people can make things look pretty funky with this; for instance if you use a list within an instruction or expected result, the list bullets/numbers overlay the >> and/or the step number. I think ultimately we'll just have to fix these things on a per-case basis, if they're legitimate use cases (is a list of things inside an expected result a legitimate use case?), so I won't hold this up for that.
Do we want any UI clues that markdown is allowed? Or we're counting on the documentation to fix that? How should people discover this feature? Cam, since you said this was ready to go I'll go ahead and deliver it, and let you either reject it or create a new bug if you want some UI help added.
| Reporter | ||
Comment 16•14 years ago
|
||
Carl Meyer changed story state to finished in Pivotal Tracker
| Reporter | ||
Comment 17•14 years ago
|
||
Carl Meyer changed story state to delivered in Pivotal Tracker
| Reporter | ||
Comment 18•14 years ago
|
||
Cameron Dawson changed story state to accepted in Pivotal Tracker
| Reporter | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 19•12 years ago
|
||
Bumping to verified as [qa-] due to age of bug, shipped.
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•