Closed Bug 1545142 Opened 6 years ago Closed 5 years ago

Let single class selectors work in mozmill tests for elements with more than one class

Categories

(Thunderbird :: Testing Infrastructure, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmorris, Unassigned)

Details

Attachments

(1 file)

In mozmill tests, to select by an element's class attribute, you have to include all of its classes in the selector string. This is very brittle. It would be better if you could write a selector for just one class that would match elements that had that class among others.

I wrote a patch to do this (attached) while working on bug 1534774. The patch worked for linux and windows, but apparently not on mac. (See this try server run.) So I'm opening this bug for further work on this.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: