Use page-object waiting API instead of Selenium waiting API
Fixes page-object deprecation warning. More information: http://watirwebdriver.com/waiting/ https://github.com/cheezy/page-object/wiki/Ajax-Calls Change-Id: Ia18339e2fd6b23098b86dd96f3fa9c84f64c28c3
This commit is contained in:
@@ -33,7 +33,7 @@ end
|
||||
When(/^I apply the changes$/) do
|
||||
on(PanelPage) do |page|
|
||||
page.panel_button_apply_element.click
|
||||
page.language_settings_dialog_element.wait_while_present
|
||||
page.language_settings_dialog_element.when_not_present
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user