mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
30f2619c14
1) Using native page-objects methods for dealing with Javascript alerts. 2) Added tags to feature file per reviewer comment. Change-Id: I3e9d9ae16f1c880878c8e198c647376a0b9aed37
20 lines
784 B
Gherkin
20 lines
784 B
Gherkin
@ie6-bug @ie7-bug @ie8-bug @ie9-bug @ie10-bug @en.wikipedia.beta.wmflabs.org @test2.wikipedia.org @login
|
|
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 click the Edit source tab
|
|
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 click Edit for VisualEditor from this page
|
|
Then I should be in Visual Editor editing alternate mode
|