[BrowserTest] Add parameter no longer exists

Change-Id: If422bedef833d0b97ca0105ad72c4ce69411bf38
This commit is contained in:
Cmcmahon 2014-07-23 16:59:58 -07:00
parent ed7f08ecd8
commit 5b439da8bc
3 changed files with 1 additions and 8 deletions

View file

@ -5,10 +5,6 @@ Given(/^I can see the Transclusion User Interface$/) do
end
end
Given(/^I click Add parameter$/) do
on(VisualEditorPage).add_parameter_element.when_present.click
end
When(/^I click Remove parameter$/) do
on(VisualEditorPage).remove_parameter_element.when_present.click
end

View file

@ -92,7 +92,6 @@ class VisualEditorPage
# not having beta warning makes iframes off by one
in_iframe(index: 0) do |frame|
span(:add_parameter, text: "Add more information", frame: frame)
span(:add_template, text: "Add template", frame: frame)
span(:insert_template, text: "Insert template", frame: frame)
span(:confirm_switch, text: "Keep changes", frame: frame)

View file

@ -17,7 +17,6 @@ Feature: VisualEditor Transclusion
And I enter S into transclusion Content box
And I see a list of template suggestions
And I click the Add template button
And I click Add parameter
And I see an input text area
When I enter x in the parameter box
Then I should see the Insert template button
@ -26,9 +25,8 @@ Feature: VisualEditor Transclusion
And I enter S into transclusion Content box
And I see a list of template suggestions
And I click the Add template button
And I click Add parameter
And I see an input text area
And I enter q in the parameter box
And I click the parameter representation containing q
When I click Remove parameter
Then I should see the Add parameter link
Then I should see the Insert template button