mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
[BrowserTest] Add parameter no longer exists
Change-Id: If422bedef833d0b97ca0105ad72c4ce69411bf38
This commit is contained in:
parent
ed7f08ecd8
commit
5b439da8bc
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue