mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/switch_editing_mode.feature
Željko Filipin 966f2f7bbb [BrowserTest] Jenkins runs only passing Cucumber scenarios
To get at least some Cucumber scenarios running in Jenkins, disable all
of them that are failing and run only ones that are passing.

The next step will be to fix failing scenarios.

Bug: T94162
Change-Id: Id0338c1d6b86d6b45220c5c0802074be397fb607
2016-02-15 13:18:19 +00:00

23 lines
885 B
Gherkin

Feature: Switching between wikitext and Visual Editor modes
Test for both pathways that allow switching between Visual Editor and wikitext editing modes.
Background:
Given I am logged in
And I go to the browser specific edit page page
When I edit the page with Switch edit mode test
Scenario: Switch editing modes via toolbar
When I enter the wikitext editor
And I click Edit for VisualEditor
Then I should be in Visual Editor editing mode
Scenario: Switch editing modes via Page Settings drop-down menu
When I click the Switch to source editing menu option
And I see the Cancel option
And I see the Discard option
And I clear the confirm dialog by clicking Keep changes
And I see the wikitext editor
And I click Edit for VisualEditor from this page
Then I should be in Visual Editor editing alternate mode