User:Rachel99/VisualEditor Feature Test Charter
Introduction
editThe goal of my Outreach for Women internship is to construct a battery of browser automation tests for the testing of Visual Editor. VisualEditor is a critically important feature of Wikimedia that has recently been deployed. VisualEditor will eventually become the default editor for Wikipedia and other Wikis, and thus it is important that its current features are tested thoroughly. These tests can then be run as regression tests to make sure nothing breaks as more new features are deployed to VisualEditor in future phases. The tests would be Accepted Test Driven Development tests written in Cucumber and falling under the same framework as the currently running web automation tests. The Cucumber tests would be coded using Ruby and Ruby Page Object Design, using the Watir web driver and Selenium. The tests would be run from Jenkins at Cloudbees and the hosting would be at SauceLabs.
Below is a list of possible features that I will write automated tests for in Visual Editor. The goal is to cover as many areas as I have time for in my 3 month internship. This document is subject to change depending on new features being added or changed within Visual Editor. Next to each feature are corresponding links for automated tests that have been written to test that feature.
To look at the comprehensive list of my contributions, go here.
VisualEditor Features to test
editLogin Tests
editLogin as user: https://gerrit.wikimedia.org/r/#/c/75919
Login as anonymous: https://gerrit.wikimedia.org/r/#/c/76833/
Links
edit- Adding and editing inclusions of hyperlinks: https://gerrit.wikimedia.org/r/#/c/71724/
References
edit- Adding and editing inclusions of references: https://gerrit.wikimedia.org/r/#/c/74640/
- References list:
Transclusions/Templates
edit- Adding and editing inclusions of transclusions and templates: https://gerrit.wikimedia.org/r/#/c/72145/1
Headings
edit- Test all possible formats in Headings menu: https://gerrit.wikimedia.org/r/#/c/79017
Bullets, Numbering, Indent, Outdent
editMedia Items
edit- Adding and editing inclusions of media items
Page Settings
editCategories
edit- adding and editing inclusions of categories
- set, edit and remove the categories that a page belongs to as part of the new "page settings" dialog
- set, edit, remove "default sort" key, as part of the new "page settings" dialog
- <future>:to cover other "meta-data" like a page having the table of contents disabled
Language Links
edit- cover simple listing of language links
- <future>: integration with Wikidata's language links system
Bold, Italic, Clear Formatting
editStrike through, underline, subscript, superscript
editCode
editLatex
editBrowsers
edit- browsers are now only blacklisted if we know that they cause significant problems, like Internet Explorer version 8 and below.
- If your browser is not known, you will get a notice alerting you to this issue (38128)
RTL Languages
edit- Left and right arrow keys now move in the correct direction in RTL environments bug 38546