mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
58049b0c2c
selenium* jobs are a new way of running Ruby based Selenium tests. The jobs are triggered daily. Bug: T128190 Change-Id: I11554b23a0e347736a67766f8c0b9879d5a6bed9
32 lines
1.2 KiB
Gherkin
32 lines
1.2 KiB
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox @skip
|
|
Feature: VisualEditor Transclusion
|
|
|
|
Background:
|
|
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 S into transclusion Content box
|
|
Then I should see a list of template suggestions
|
|
|
|
Scenario: Add parameter to template
|
|
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 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 S into transclusion Content box
|
|
And I see a list of template suggestions
|
|
And I click the Add template button
|
|
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 Insert template button
|