Use existing steps instead of execute_script
Change-Id: Ifb54a9162ac8b4b9c68aea1508081999ea7e7f6c
This commit is contained in:
@@ -6,9 +6,9 @@ Then(/^the selected interface font must be (.*?)$/) do |font|
|
||||
end
|
||||
|
||||
Then(/^the selected input method for Malayalam is ml-inscript2$/) do
|
||||
@browser.execute_script(
|
||||
"return $.parseJSON( mw.user.options.values['uls-preferences'] ).ime.imes.ml"
|
||||
).should == 'ml-inscript2'
|
||||
step 'I click on an input box'
|
||||
step 'I should see the input method indicator'
|
||||
step 'in it there must be an element with Malayalam text'
|
||||
end
|
||||
|
||||
When(/^I select the ml-inscript2 input method in the panel$/) do
|
||||
|
||||
Reference in New Issue
Block a user