mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/switch_editing_mode.feature
cmcmahon 82dc0cbb99 [browser test] Dismiss new confirm dialog
Note: this is not a real confirm, it is an iframe with some
buttons that look like a standard confirmation but are not

Change-Id: I7854815542f05bec03ce950495dd675605916deb
2014-05-21 09:35:28 -07:00

22 lines
831 B
Gherkin

@chrome @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 clear the confirm dialog
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