Refactoring live preview

Change-Id: I351094b8d746d991b1f1d92f3dd097f092e3f0f5
This commit is contained in:
Niklas Laxström
2013-12-02 12:59:48 +02:00
committed by Zfilipin
parent 5749d92c4f
commit b04c6f8de2
7 changed files with 27 additions and 26 deletions

View File

@@ -25,3 +25,11 @@ Then(/^my interface language is "(.*?)"$/) do |language|
code = on(PanelPage).language_to_code(language)
on(PanelPage).interface_element.attribute("lang").should == code
end
When(/^I click the button with the ellipsis$/) do
on(InterlanguagePage).ellipsis_button_element.click
end
When(/^in the language filter I type (.+)$/) do |language_abbreviation|
on(IMEPage).language_filter = language_abbreviation
end