2014-05-09 18:04:18 +00:00
|
|
|
@chrome @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-06-11 16:12:08 +00:00
|
|
|
And I go to the browser specific edit page 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-05-21 16:33:19 +00:00
|
|
|
And I clear the confirm dialog
|
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
|