2014-08-13 14:14:14 +00:00
|
|
|
@firefox @login
|
2014-05-27 19:40:26 +00:00
|
|
|
Feature: Language Screenshot
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-05-27 19:40:26 +00:00
|
|
|
Scenario: VisualEditor_Toolbar_Headings
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2015-01-26 06:56:24 +00:00
|
|
|
When I click the down arrow on the Headings menu
|
2014-05-27 19:40:26 +00:00
|
|
|
Then I should see Headings pull-down menu
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-05-27 19:40:26 +00:00
|
|
|
Scenario: VisualEditor_Toolbar_Formatting
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2014-05-27 19:40:26 +00:00
|
|
|
When I click the text style menu
|
|
|
|
Then I should see Formatting pull-down menu
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_More_Settings
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click the hamburger menu
|
|
|
|
Then I should see pull-down menu containing Page Settings
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_Insert_Menu
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click on the Insert menu
|
|
|
|
Then I should see Insert pull-down menu
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_Toolbar_SpecialCharacters
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click on the Special character option in Insert menu
|
|
|
|
Then I should see Special character Insertion window
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_save_dialog
|
|
|
|
Given I am logged in
|
2015-01-26 06:36:31 +00:00
|
|
|
And I edit language screenshot page with Testing Save
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click Save page
|
|
|
|
Then I should see save changes dialog box
|
|
|
|
|
2015-02-05 09:35:18 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_Page_Settings
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2014-07-15 12:35:06 +00:00
|
|
|
And I click the hamburger menu
|
|
|
|
When I click on Page settings option
|
|
|
|
Then I should see Page settings dialog box
|
|
|
|
|
2015-01-27 05:41:17 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_Toolbar_Lists_and_indentation
|
|
|
|
Given I go to the "Indent Outdent Screenshot" page with source content "Indent Outdent Screenshot"
|
|
|
|
And I make the text "Indent Outdent" be selected
|
|
|
|
When I click Bullets
|
|
|
|
And I click on list and indentation dropdown
|
|
|
|
Then I should see list and indentation dropdown
|
|
|
|
|
|
|
|
Scenario: VisualEditor_External_link
|
|
|
|
Given I go to the "Links VisualEditor Screenshot" page with source content "Links VisualEditor Screenshot"
|
|
|
|
And I click in the editable part
|
|
|
|
And I click the Link button
|
|
|
|
When I enter http://www.mediawiki.org into link Content box
|
|
|
|
Then I should see link Content box with dropdown options
|
|
|
|
|
|
|
|
Scenario: VisualEditor_Link_editing_inline
|
|
|
|
Given I go to the "Links VisualEditor Screenshot" page with source content "Links VisualEditor Screenshot"
|
|
|
|
And I click in the editable part
|
|
|
|
And I click the Link button
|
|
|
|
When I enter VisualEditor into link Content box
|
|
|
|
Then I should see link Content box with dropdown options
|
|
|
|
|
|
|
|
Scenario: VisualEditor_Link_editing_inline_icon
|
|
|
|
Given I go to the "Links VisualEditor LanguageScreenshot Test" page with source content "[[VisualEditor]] is a extension."
|
|
|
|
And I click in the editable part
|
|
|
|
Then I should see link icon
|
|
|
|
|
|
|
|
Scenario: VisualEditor_Media_editing
|
|
|
|
Given I go to the "Media Interface Screenshot" page with source content "Media Interface Screenshot"
|
|
|
|
And I click in the editable part
|
|
|
|
And I click Media
|
|
|
|
When I enter San Francisco into media Search box
|
|
|
|
Then I should see media editing dialog box
|
|
|
|
|
|
|
|
Scenario: VisualEditor_Media_caption_editing
|
|
|
|
Given I go to the "Media Interface Screenshot" page with source content "Media Interface Screenshot"
|
|
|
|
And I select an image by searching San Francisco in Media option
|
2015-02-19 18:13:33 +00:00
|
|
|
And I click Use this image
|
2014-07-15 12:35:06 +00:00
|
|
|
And I enter "San Francisco" in alternative text
|
|
|
|
When I enter "San Francisco is located on the West Coast of the United States" in caption text box
|
|
|
|
Then I should see media caption dialog box
|
|
|
|
|
|
|
|
Scenario: VisualEditor_Media_advanced_settings
|
|
|
|
Given I go to the "Media Interface Screenshot" page with source content "Media Interface Screenshot"
|
|
|
|
And I select an image by searching San Francisco in Media option
|
2015-02-19 18:13:33 +00:00
|
|
|
And I click Use this image
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click on Advanced Settings tab
|
|
|
|
Then I should see media advanced settings dialog box
|
|
|
|
|
|
|
|
Scenario: VisualEditor_Media_icon
|
|
|
|
Given I go to the "Media Interface Screenshot" page which has a media image
|
|
|
|
And I select the image in VisualEditor
|
|
|
|
Then I should see media in VisualEditor
|
|
|
|
|
2014-11-27 12:39:38 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_Cite_Pulldown
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2015-02-24 17:35:31 +00:00
|
|
|
Then I should see the Cite button
|
2014-07-15 12:35:06 +00:00
|
|
|
|
|
|
|
Scenario: VisualEditor_References_icon
|
|
|
|
Given I go to "Reference VisualEditor Screenshot" page which has references
|
|
|
|
When I send right arrow times 39
|
|
|
|
Then I should see Reference icon
|
|
|
|
|
|
|
|
Scenario: VisualEditor_References_edit
|
|
|
|
Given I go to the "Reference VisualEditor Screenshot" page with source content "VisualEditor is a MediaWiki extension"
|
2015-02-24 17:35:31 +00:00
|
|
|
And I click the Cite button
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click on Basic Reference in Cite menu dropdown
|
|
|
|
Then I should see Basic Reference dialog box
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_edit_tab
|
|
|
|
Given I am logged in
|
2014-08-12 13:22:26 +00:00
|
|
|
When I go to language screenshot page
|
2015-02-25 07:42:23 +00:00
|
|
|
Then I should see the Edit source tab at the top of the page
|
|
|
|
And I should see the Edit tab at the top of the page
|
2014-07-15 12:35:06 +00:00
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_toolbar
|
|
|
|
Given I am logged in
|
2015-01-26 06:36:31 +00:00
|
|
|
And I am editing the language screenshots page
|
2014-07-15 12:35:06 +00:00
|
|
|
Then I should see the VisualEditor tool-bar
|
|
|
|
|
2014-08-13 14:14:14 +00:00
|
|
|
@language_screenshot
|
2014-07-15 12:35:06 +00:00
|
|
|
Scenario: VisualEditor_category_editing
|
2015-01-26 06:36:31 +00:00
|
|
|
Given I am editing the language screenshots page
|
2014-07-15 12:35:06 +00:00
|
|
|
When I click on category in hamburger menu
|
|
|
|
Then I should see category dialog box
|
|
|
|
|
2015-01-27 06:00:40 +00:00
|
|
|
@language_screenshot
|
2014-08-12 13:22:26 +00:00
|
|
|
Scenario: VisualEditor_formula
|
|
|
|
Given I go to the "Formula Screenshot" page with source content ""
|
|
|
|
When I click on Formula option in Insert menu
|
|
|
|
And I type a formula
|
|
|
|
Then I should see the formula insertion menu
|
2014-07-15 12:35:06 +00:00
|
|
|
|
2014-09-26 16:10:52 +00:00
|
|
|
@language_screenshot
|
2014-10-02 13:34:04 +00:00
|
|
|
Scenario: VisualEditor_toolbar_actions
|
2014-08-12 13:22:26 +00:00
|
|
|
Given I am logged in
|
2015-01-26 06:36:31 +00:00
|
|
|
When I edit language screenshot page with Testing toolbar
|
2014-10-02 13:34:04 +00:00
|
|
|
Then I should see action buttons in the end of the VisualEditor toolbar
|
2014-08-12 13:22:26 +00:00
|
|
|
|
2014-08-19 18:32:46 +00:00
|
|
|
Scenario: VisualEditor_references_list
|
2014-08-12 13:22:26 +00:00
|
|
|
Given I go to the "Reference VisualEditor Screenshot" page with source content "VisualEditor is a MediaWiki extension"
|
2014-08-19 18:32:46 +00:00
|
|
|
When I click on References list in Insert menu
|
|
|
|
Then I should see References list dialog box
|