mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
Merge "[BrowserTest] create a Template at run time"
This commit is contained in:
commit
f716ba7314
|
@ -2,18 +2,19 @@
|
|||
Feature: VisualEditor Transclusion
|
||||
|
||||
Background:
|
||||
Given I go to the "Transclusion VisualEditor Test" page with content "Transclusion VisualEditor Test"
|
||||
Given I go to the "Template:Seleniumtest" page with content "Template for selenium testing"
|
||||
And I go to the "Transclusion VisualEditor Test" page with content "Transclusion VisualEditor Test"
|
||||
And I click in the editable part
|
||||
And I click Transclusion
|
||||
And I can see the Transclusion User Interface
|
||||
|
||||
Scenario: Add template
|
||||
When I enter N into transclusion Content box
|
||||
When I enter S into transclusion Content box
|
||||
Then I see a list of template suggestions
|
||||
And I click the Add template button
|
||||
|
||||
Scenario: Add parameter to template
|
||||
And I enter N into transclusion Content box
|
||||
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
|
||||
|
@ -22,7 +23,7 @@ Feature: VisualEditor Transclusion
|
|||
Then I should see the Insert template button
|
||||
|
||||
Scenario: Remove parameter
|
||||
And I enter N into transclusion Content box
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue