mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/fresh_wiki_install.feature
Željko Filipin 1236387abd [browser test] Run all Selenium tests in Firefox
Paired with: Chris McMahon
Bug: 58040

Change-Id: I83d4c391fc101bda8c18a6d0c533ca75795569ff
2014-04-18 17:33:12 +02:00

22 lines
897 B
Gherkin

@clean @firefox
Feature: VisualEditor on a fresh Mediawiki install
Since this test currently uses a hard-coded
username and password, the test should only
be run against a fresh Mediawiki install
(including the VisualEditor extension).
Scenario: Create a new user account
Given I create a new user Selenium_user with password test1234
Scenario Outline: Article creation and editing
Given I create a new wiki article <page_title> with content <article_text>
When I login with username Selenium_user and password test1234
And I visit <page_title> via the UI
And I click Edit for VisualEditor
Then I should see the Visual Editor editing surface
Examples:
| page_title | article_text |
| User:Selenium_user | This is my user page |
| User:Selenium_user/firefox | This is some wiki article text |