2014-04-18 15:33:12 +00:00
|
|
|
@en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
2013-12-18 16:52:42 +00:00
|
|
|
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
|