mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/transclusion.feature
cmcmahon fcffffbb99 [browser test] further adventures of avoiding login to edit
Using @edit_user_page hook is a workaround that avoids the
problem where Selenium brings up Firefox with the cursor in the
address bar

Change-Id: Iba42cbb74378952760db3db68130ac74219cde9b
2014-05-02 15:43:16 -04:00

32 lines
1.1 KiB
Gherkin

@edit_user_page @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
Feature: VisualEditor Transclusion
Background:
Given I click Transclusion
And I can see the Transclusion User Interface
Scenario: Add template
When I enter N 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 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
Scenario: Remove parameter
And I enter N 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