[BrowserTest] page content element is normal again

Change-Id: I520fecad63c2d7ea69ca668877af4f1d2e10acc2
This commit is contained in:
Cmcmahon 2014-06-18 16:46:55 -07:00
parent c0bd7487f5
commit 04242ddeac

View file

@ -87,7 +87,7 @@ When(/^I see the IP warning signs$/) do
end
Then(/^Page text should contain (.+)$/) do |output_string|
on(VisualEditorPage).page_text_after_save_element.when_present.text.should match Regexp.escape(output_string + " #{@random_string}")
on(VisualEditorPage).page_text_element.when_present.text.should match Regexp.escape(output_string + " #{@random_string}")
end
Then(/^I can click the X on the save box$/) do