User:Rachel99/VisualEditor Feature Test Charter

Introduction
The 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 links next to each feature point to their corresponding automated test in Gerrit.

Login Tests
Login as user: https://gerrit.wikimedia.org/r/#/c/75919 Login as anonymous: https://gerrit.wikimedia.org/r/#/c/76833/

Links

 * Adding and editing inclusions of hyperlinks: https://gerrit.wikimedia.org/r/#/c/71724/

Transclusions/Templates

 * Adding and editing inclusions of transclusions and templates: https://gerrit.wikimedia.org/r/#/c/72145/1

Media Items

 * Adding and editing inclusions of media items

Images

 * Adding and editing inclusions of images

Categories

 * 1) adding and editing inclusions of categories
 * 2)  set, edit and remove the categories that a page belongs to as part of the new "page settings" dialog
 * 3) set, edit, remove  "default sort" key, as part of the new "page settings" dialog
 * 4) :to cover other "meta-data" like a page having the table of contents disabled

Language Links

 * 1) cover simple listing of language links
 * 2)  : integration with Wikidata's language links system

Browsers

 * 1) browsers are now only blacklisted if we know that they cause significant problems, like Internet Explorer version 8 and below.
 * 2) If your browser is not known, you will get a notice alerting you to this issue (38128).
 * 3) Tests written :

Wikis

 * 1) Support in our back-end for multi-character "grapheme clusters", ( wikis that use extended ("non-BMP") Unicode characters can now work (48975))
 * 2) Tests written :

RTL Languages

 * Left and right arrow keys now move in the correct direction in RTL environments bug 38546


 * Tests written :