[BrowserTest] Remove when_not_visible check from 'I click Save page'

The when_not_visible line fails, but it doesn't seem to be needed
in the first place. The when_present line appears to be enough.

Change-Id: I572dabb5d53553d454f6e40c5602fbe3252c3657
This commit is contained in:
Amir E. Aharoni 2015-03-19 14:54:32 +02:00
parent e34aa6aab4
commit c4f21ecd03

View file

@ -48,7 +48,6 @@ end
When(/^I click Save page$/) do
on(VisualEditorPage) do |page|
page.disabled_save_button_element.when_not_visible(15)
page.save_page_element.when_present.click
end
end