Closed
Bug 654794
Opened 14 years ago
Closed 13 years ago
a user should be able to apply tags to test cases
Categories
(Mozilla QA Graveyard :: MozTrap, enhancement)
Mozilla QA Graveyard
MozTrap
Tracking
(Not tracked)
RESOLVED
FIXED
0.5
People
(Reporter: camd, Unassigned)
Details
these should be arbitrary text. Though perhaps when a user wants to add a tag, it will provide a list of already-existing tags to choose from to mitigate spelling/capitalization discrepancies.
Reporter | ||
Comment 1•14 years ago
|
||
or do Test Suites cover this? A test case can belong to several suites, so that is kind of like applying a tag to it. Depends on the workflow.
Reporter | ||
Comment 2•14 years ago
|
||
A Pivotal Tracker story has been created for this Bug: http://www.pivotaltracker.com/story/show/13298801
Reporter | ||
Comment 3•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
This will need a tag management interface of some kind.
Test: user wants to merge two tags
Test: user wants to create a new tag
Test: user wants to delete a tag
Test: user wants to add all the cases with a tag to an existing test suite
Reporter | ||
Comment 4•14 years ago
|
||
Cameron Dawson changed story state to unstarted in Pivotal Tracker
Reporter | ||
Comment 5•14 years ago
|
||
Cameron Dawson changed story state to started in Pivotal Tracker
Reporter | ||
Updated•14 years ago
|
Target Milestone: --- → 0.5
Reporter | ||
Comment 6•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
Eric and I were just looking at this story, and from our end it would be helpful to break it up into smaller stories. This story should just cover adding tags to a test case, with tokenizing autocomplete to avoid typos.
Cam, here are the additional stories I think should be added to cover other things you've listed:
1. Management UI for creating, deleting, and editing tags. (Much like other existing management UI pages we have).
2. A "merge tags" bulk action on that management screen. I'll need to dig in and see if this is really feasible given the platform API. Also it'll require adding a bulk action to a management page for the first time, which means some UI adjustments.
3. Implementing filtering-by-tag on the test cases management screen.
4. Ability to bulk-add filtered test cases to a suite. (I think this would already be covered by what we had envisioned for https://www.pivotaltracker.com/story/show/12968421, though that's currently prioritized fairly low on the list).
Reporter | ||
Comment 7•14 years ago
|
||
Eric Meyer added a comment in Pivotal Tracker:
How do we want to handle tagging on bulk test-case creation? same tokenized approach, with tags added to all cases? add a tagging syntax?
also, I have some ideas on how we might do #2 without a standard 'bulk actions' approach. Still requires some new UI, but may not be as invasive.
Reporter | ||
Comment 8•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
eric: I think to keep it simple at this point, for bulk creation, presume that tags you specify there apply to all the test cases. So, add a separate field for "Tags"
Reporter | ||
Comment 9•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
eric: to be honest, I kind of like the way we add tags to tracker stories. It's similar enough to our filtering UI, too. would that work for us?
Reporter | ||
Comment 10•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
carl: for #4, I think this story for suites should have been higher priority (Matt E called me out on this). Would you prefer this broken into separate stories?
Reporter | ||
Comment 11•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
ok, this story is now only #1 from Carl's comment above.
Reporter | ||
Comment 13•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
changed my mind. This story is now only about APPLYING tags to test case. A new story is about CRUD operations for tags.
Reporter | ||
Comment 14•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
the JS is mocked in. it looks like i'm passing this to Cam for approval before Carl implements the back-end? In that case, just remember that you're seeing fake data, so the autocomplete suggestions look a little funny. :-)
Reporter | ||
Comment 15•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
I pushed this to cc-dev.oddsites.net. Note that the autocomplete mockup only works on the case edit page currently, not on the case add page.
Reporter | ||
Comment 16•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
this looks so cool, I swallowed my gum. Can't wait! :)
Reporter | ||
Comment 17•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
Note to eric and jonny - make new features less cool. We don't want Cam's health to suffer from excessive gum-swallowing ;-)
Reporter | ||
Comment 18•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
JS is mocked on both pages now (testcase editing and creation), but I've discovered another problem. Eric, you're using the same _tagging.html template for both single and bulk testcase creation, which means we have duplicate element IDs on the testcase creation page (because both single and bulk templates are used on that page). I'm passing this to you to fix that, then pass it back so I can make any necessary adjustments to the JS.
Reporter | ||
Comment 19•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
Eric: I made one more change to your HTML to avoid duplicate IDs (the input textbox for tags). Also, I specifically wrote the JS so that the single and bulk forms are independent of one another, and I like that approach better. We can talk more if you feel strongly that the tags should be "remembered" from one form to the other.
Reporter | ||
Comment 20•14 years ago
|
||
Eric Meyer added a comment in Pivotal Tracker:
I had assumed everything transferred between the two forms. I thought that had been requested. I don't have strong feelings.
Reporter | ||
Comment 21•14 years ago
|
||
Cameron Dawson added a comment in Pivotal Tracker:
I think what's analogous between bulk and single should be moved over if the user switches between them. I think the user would expect not to have to re-enter the data.
Reporter | ||
Comment 22•14 years ago
|
||
Carl Meyer added a comment in Pivotal Tracker:
jonny: on stories like this, when you do the JS before I do my part, it's really helpful if you can comment on the story with exactly what your JS is expecting from me. For instance on this story I had to spend a little while digging through your JS and ICH templates in order to figure out what you were sending me for the autocomplete and what format you expected the suggestions to come back in.
Reporter | ||
Comment 23•14 years ago
|
||
Jonny Gerig Meyer added a comment in Pivotal Tracker:
carl: understood, sorry. in this case it was identical to some of the other autocomplete stuff we've done, but i'll clarify in the future. also, just so you know, from now on (and including this case) whenever i have some ajax mocked, you can always check ajax_setup.js to see what response i'm expecting from the server.
Reporter | ||
Comment 24•14 years ago
|
||
Carl Meyer changed story state to finished in Pivotal Tracker
Reporter | ||
Comment 25•14 years ago
|
||
Carl Meyer changed story state to delivered in Pivotal Tracker
Reporter | ||
Comment 26•14 years ago
|
||
Cameron Dawson changed story state to accepted in Pivotal Tracker
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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
•