Closed Bug 920416 Opened 12 years ago Closed 12 years ago

Update code to use controller.select() in testPreferences/testPreferredLanguage.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect, P1)

defect

Tracking

(firefox24 fixed, firefox25 fixed, firefox26 fixed, firefox27 fixed, firefox-esr17 fixed, firefox-esr24 fixed)

RESOLVED FIXED
Tracking Status
firefox24 --- fixed
firefox25 --- fixed
firefox26 --- fixed
firefox27 --- fixed
firefox-esr17 --- fixed
firefox-esr24 --- fixed

People

(Reporter: andrei, Assigned: andrei)

References

Details

(Keywords: regression)

Attachments

(1 file)

We need to update the following code: > // Select the language in the dropdown > // Bug 852116 > // TODO: replace this code with controller.select() once 852116 lands > aController.click(langDropDown); > assert.waitFor(function () { > return langDropDown.getNode().open; > }, "Language Drop Down has been opened"); > aController.click(filteredLanguageList.elements[randomPosition]); > aController.click(langDropDown); With: > controller.select() We get a failure in 1.5.23 right now: http://mozmill-staging.blargon7.com/#/functional/report/837c1e0f361ac93453ee6972195e578b Probably due to bug 912941 getting landed.
Lets get this fixed on all branches, so that we can upgrade to 1.5.23 on production later today.
Blocks: 852116
No longer depends on: 852116
Keywords: regression
Priority: -- → P1
Attached patch 1.patchSplinter Review
I've replaced the block of code with controller.select() Appears to be working very nice: 1.5 === OSX: http://mozmill-crowd.blargon7.com/#/functional/report/837c1e0f361ac93453ee69721961af4b Windows: http://mozmill-crowd.blargon7.com/#/functional/report/837c1e0f361ac93453ee6972196358a8 2.0 === OSX: http://mozmill-crowd.blargon7.com/#/functional/report/837c1e0f361ac93453ee697219668f39 I'm currently refreshing my Linux vm, it crashes randomly so I couldn't get a full testrun, the test run independently passes.
Assignee: nobody → andrei.eftimie
Status: NEW → ASSIGNED
Attachment #809813 - Flags: review?(andreea.matei)
Attachment #809813 - Flags: review?(andreea.matei) → review+
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: