2013-12-18 16:52:42 +00:00
|
|
|
@ie6-bug @ie7-bug @ie8-bug @ie9-bug @ie10-bug @en.wikipedia.beta.wmflabs.org @test2.wikipedia.org @login
|
|
|
|
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
|
2014-04-07 17:46:36 +00:00
|
|
|
And I am at my user page
|
2013-12-18 16:52:42 +00:00
|
|
|
When I click Edit for VisualEditor
|
|
|
|
|
|
|
|
Scenario: Switch editing modes via toolbar
|
2014-04-07 17:46:36 +00:00
|
|
|
When I enter the wikitext editor
|
|
|
|
And I click Edit for VisualEditor
|
2013-12-18 16:52:42 +00:00
|
|
|
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
|
2014-04-07 17:46:36 +00:00
|
|
|
And I see the wikitext editor
|
|
|
|
And I click Edit for VisualEditor from this page
|
2013-12-18 16:52:42 +00:00
|
|
|
Then I should be in Visual Editor editing alternate mode
|