Closed
Bug 654277
Opened 14 years ago
Closed 14 years ago
a test writer should be able to add another step to a testcase without using the mouse
Categories
(Mozilla QA Graveyard :: MozTrap, enhancement)
Mozilla QA Graveyard
MozTrap
Tracking
(Not tracked)
VERIFIED
FIXED
0.4
People
(Reporter: camd, Unassigned)
Details
Need some kind of hotkey, or perhaps hitting "tab" while on the "expected" field of the first step will create a new step. Or ctrl+enter or something.
| Reporter | ||
Comment 1•14 years ago
|
||
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/12921589
| Reporter | ||
Comment 2•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
I was thinking a nice way this could work would be this:
1. On entering the page, it initially shows action/expected for 2 steps.
2. The user can tab from field to field. When they type step 1 action, then step 1 expected result, they can hit tab and it will take focus to the action for step 2.
3. As soon as focus moves to the action field for step 2, then fields for a 3rd step are created, and so on.
This way no hotkey is needed to create a new step. They just get it, if they need it.
| Reporter | ||
Comment 3•14 years ago
|
||
Jonny Gerig Meyer changed story state to started in Pivotal Tracker
| Reporter | ||
Comment 4•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
Carl & Eric: The new auto-add is implemented, but I'd be happy for you both to test it and see if it works as you'd expect. The only thing I don't like is the tabindex for remove-links (because they're appended to the row in the markup, you tab to the remove link for a row AFTER that row, which is weird). I'm tempted to just remove them from the tabIndex, but if that's not ideal (for accessibility reasons), I'm curious what you guys would propose for a better solution.
Eric: I'm passing this to you, because I think it's ready for you to wireframe inserting a row in between existing rows.
| Reporter | ||
Comment 5•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
jonny: looks great! I think the tabIndex thing we can just leave as it is for now. I did notice one minor issue: if you disable HTML5 form validation and submit the form with something wrong (like blank name or description or a step with blank expected result), the reloaded page has an extra blank step that isn't grayed out or made non-required, which you have to then delete before you can submit the form successfully. Made you a task.
| Reporter | ||
Comment 6•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
carl: should be fixed now. feel free to tell me i'm wrong, or broke something else. :-)
| Reporter | ||
Comment 7•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
carl&eric: JS is in place, and seems to work great. @carl, I did notice that the form always redirects to #single after submission; maybe it did that before, but I didn't notice it before and wanted to make sure that's intentional/unavoidable.
| Reporter | ||
Comment 8•14 years ago
|
||
Eric Meyer changed story state to finished in Pivotal Tracker
| Reporter | ||
Comment 9•14 years ago
|
||
Carl Meyer changed story state to delivered in Pivotal Tracker
| Reporter | ||
Comment 10•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
jonny: I could remove the #single and rely on that being the default, but not sure that's worth it; the bulk form will still submit to #bulk. That's needed for error-reload to work correctly; unfortunately the browser keeps the hash tag in place when it gets a redirect, which is why we still get the useless #single/#bulk on successful redirect. I don't know of any way we can avoid this as long as we're doing the two-forms-in-slideshow thing and want error-reload to work. Shouldn't be a problem unless we introduce an actual #single or #bulk on the test case manage list page.
| Reporter | ||
Comment 11•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
Target Milestone: --- → 0.4
Comment 12•11 years ago
|
||
Bumping to verified as [qa-] due to age of bug, shipped.
Status: RESOLVED → VERIFIED
Updated•7 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
•