Closed Bug 536605 Opened 15 years ago Closed 14 years ago

Mac only failure with xpath on Lightning preference pane in thunderbird

Categories

(Testing Graveyard :: Mozmill, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cmtalbert, Assigned: cmtalbert)

Details

(Whiteboard: [p1-qae][mozmill-1.4.2+])

Attachments

(1 file, 1 obsolete file)

979 bytes, application/x-javascript
Details
1. Install mozmill into thunderbird with lightning
2. Copy the attached module into the modules directory
3. Copy the test into a test directory 
4. Run the test in mozmill

= Expected =
The xpath would work to select an item in the drop down. - It works on windows and linux

= Actual =
On mac, the xpath expression doesn't work and causes a failure in mozmill.
The dom is not different between the different OS's, so it's really not clear what is going on here.
Clint, do you have the corresponding line of code in Lighting for us?
(In reply to comment #1)
> Clint, do you have the corresponding line of code in Lighting for us?

http://mxr.mozilla.org/comm-central/source/calendar/base/content/preferences/timezones.xul#64
Just wondering why you do not use a Lookup expression. Accessing elements via their xpath is used rarely at least for our tests in Firefox. Could you check if a Lookup exression will work?
Whiteboard: [p1-qae] → [p1-qae][mozmill-1.4.2+]
Assignee: nobody → ctalbert
This is a simpler test for the xpath issue.  It's been updated to work with the current version of the prefsAPI, could have been an issue with the old prefsAPI or mozmill so it's hard to know what change caused this to start working, but it works now.
Attachment #419042 - Attachment is obsolete: true
Marking WFM, and in answer to comment 3, yes a lookup expression would work, but the issue here is that the inspector was giving out an xpath expression, and since the inspector does validation, it should not ever give out an expression that doesn't work, which it was doing in this case.

But as noted in comment 4, looks like we fixed this somewhere along the way.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: