this approach seems to work better for change in latest jQ

pull/1575/head
John McLear 2013-03-01 23:29:12 +00:00
parent 3460159f68
commit cadb671ae1
1 changed files with 2 additions and 4 deletions

View File

@ -56,10 +56,8 @@ describe("Language select and change", function(){
//click the language button
var $language = chrome$("#languagemenu");
var $languageoption = $language.find("[value=en]");
//select german
$languageoption.attr('selected','selected');
//select english
$language.val("en");
$language.change();
//get the value of the bold button