Closed Bug 1261424 Opened 9 years ago Closed 9 years ago

Adding a class for the pin job locator

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rbillings, Assigned: jfrench)

References

()

Details

Attachments

(1 file)

Test automation for pinning a job has to use a very fragile locator when using the pin icon* due to the current page structure. Can you add a class to the "a" element? (By.CSS_SELECTOR, '#job-details-actionbar .nav .nav li:nth-child(1) a')
Cool, I think we can add an id for this one since it's unique. I'll add a couple of other ids and classes elsewhere that could be useful at the same time.
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → All
Comment on attachment 8750961 [details] [review] [treeherder] tojon:add-button-ids > mozilla:master PR for review at your leisure :)
Attachment #8750961 - Flags: review?(wlachance)
Comment on attachment 8750961 [details] [review] [treeherder] tojon:add-button-ids > mozilla:master Looks good, ty!
Attachment #8750961 - Flags: review?(wlachance) → review+
Keywords: autoland
Keywords: autoland
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified fixed on stage.
Status: RESOLVED → VERIFIED
Thanks for taking care of this!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: