Merge "Fix for IME menu integration tests"
This commit is contained in:
@@ -16,7 +16,7 @@ When(/^I click on an input box$/) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
When(/^I click on the input method indicator$/) do
|
When(/^I click on the input method indicator$/) do
|
||||||
on(RandomPage).input_method_element.click
|
on(RandomPage).input_method_element.when_present.click
|
||||||
end
|
end
|
||||||
|
|
||||||
When(/^I open the input method menu$/) do
|
When(/^I open the input method menu$/) do
|
||||||
@@ -28,7 +28,7 @@ When(/^I open the input method menu$/) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
Then(/^I should see the input method indicator$/) do
|
Then(/^I should see the input method indicator$/) do
|
||||||
on(RandomPage).input_method_element.should be_visible
|
on(RandomPage).input_method_element.when_present.should be_visible
|
||||||
end
|
end
|
||||||
|
|
||||||
Then(/^I should see input methods for (.+)/) do |language|
|
Then(/^I should see input methods for (.+)/) do |language|
|
||||||
|
|||||||
Reference in New Issue
Block a user