mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
f7a7a89d00
No combination of WebDriver for any version of Chrome on Linux works 100% correctly. Remove the failing tests for now. Change-Id: I46be2c2c857e93234c839d32f1c0d4224733d0f7
24 lines
983 B
Gherkin
24 lines
983 B
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_10 @login @safari @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 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
|