Closed Bug 599775 Opened 14 years ago Closed 13 years ago

Controller needs to handle radio groups correctly

Categories

(Testing Graveyard :: Mozmill, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: whimboo, Assigned: ahal)

References

Details

(Whiteboard: [mozmill-1.5.2-][mozmill-2.0+])

Attachments

(1 file)

Currently the controller only fires against a specific radio button. This should be changed so consumers only have to retrieve the radiogroup and not each of the button (which is sometimes even not possible due to the lack of unique identifiers). The API should look like the select function, and should allow you to specify the index, a value or the label.

This missing feature will block us by implementing some of the tests for the automatic/manual update checks of the new add-ons manager.

It would be awesome if we could fold this into the 1.5.1 release.
Let's push this to 1.5.2 for now.  Rather do this one right than fast.
Whiteboard: [mozmill-1.5.1?] → [mozmill-1.5.2?]
This would be nice for 1.5.2, but it's not going to block.  Will take patches.
Whiteboard: [mozmill-1.5.2?] → [mozmill-1.5.2-]
Whiteboard: [mozmill-1.5.2-] → [mozmill-1.5.2-][mozmill-2.0?]
Whiteboard: [mozmill-1.5.2-][mozmill-2.0?] → [mozmill-1.5.2-][mozmill-2.0+]
I'll take this, I've always thought that this would be a good way to do things.  I've already renamed the 'radio' method to 'select' in my controller refactor anyway.
Assignee: nobody → ahalberstadt
Status: NEW → ASSIGNED
Attachment #522537 - Flags: review?(fayearthur+bugs)
Comment on attachment 522537 [details] [diff] [review]
Patch 1.0 - Allow radio.select on radiogroup elements

awesome!
Attachment #522537 - Flags: review?(fayearthur+bugs) → review+
master: https://github.com/mozautomation/mozmill/commit/addb94a23686e118b80dd2be8b0805a576c76158
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: