[BrowserTest] inadvertent clash of identifiers from earlier update

Change-Id: I1a86db0f4fa9ee0f327cf371b76c9ebf25ddc17e
This commit is contained in:
Cmcmahon 2014-09-15 14:48:13 -07:00
parent e71699f06a
commit b6b93fc860
2 changed files with 2 additions and 1 deletions

View file

@ -28,7 +28,7 @@ When(/^I click Edit for VisualEditor from this page$/) do
end
When(/^I see the Cancel option$/) do
on(VisualEditorPage).confirm_switch_cancel_element.when_present
on(VisualEditorPage).confirm_switch_cancel_on_switch_element.when_present
end
When(/^I see the Discard option$/) do

View file

@ -129,6 +129,7 @@ class VisualEditorPage
span(:insert_template, text: "Insert", frame: frame)
span(:confirm_switch, text: "Keep changes", frame: frame)
span(:confirm_switch_cancel, text: "Resume editing", frame: frame)
span(:confirm_switch_cancel_on_switch, text: "Cancel", frame: frame)
span(:confirm_switch_discard, text: "Discard changes", frame: frame)
div(:content_box, class: "ve-ce-documentNode ve-ce-branchNode", frame: frame)
text_area(:describe_change, index: 0, frame: frame)