mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/switch_editing_mode.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

21 lines
786 B
Gherkin

@en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
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 am at my user page
When I click Edit for VisualEditor
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 wikitext editor
And I click Edit for VisualEditor from this page
Then I should be in Visual Editor editing alternate mode