Page MenuHomePhabricator

Selenium Framework Cleanup
Closed, DeclinedPublic



MediaWiki is a free and open-source Wiki application. It powers a lot of websites including Wikipedia, Wiktionary, and Wikimedia commons.

Delivery of optimal quality software with unique and innovative features is always a priority. However, without evaluating software components under various expected and unexpected conditions, one cannot guarantee these aspects. Therefore, testing is performed to test every software component large and small. To increase the efficiency of the testing process and to maximize test coverage, automation is imperative. Automation not only improves the quality of testing but also makes it faster and reduces the cost involved.

MediaWiki uses WebdriverIO, an open-source test automation framework, as it’s primary testing framework. As a part of Google Summer of Code 2020 internship, WebdriverIO was migrated to v6 for all most all repositories. While migration was being carried out, we noticed a need to perform a cleanup and refactoring of the existing WebdriverIO code across all repositories. Some tasks that need to be performed include:

  1. Introduce video recording in all selenium tests. See T253113
  2. Sanitize Page Object imports across all repositories
  3. Work on extending the wdio.conf.js file so that the same file can be used/extended across all repositories
  4. Create a standalone NPM package that can be used to record videos of the tests independently
  1. An exhausted list of clean up tasks required to be performed can be found here
  2. For a list of all repos running Selenium, see


@Vidhi-Mody @zeljkofilipin @Soham



See T265011

Event Timeline

Soham triaged this task as Medium priority.Sep 18 2020, 3:42 AM
Soham updated the task description. (Show Details)
Soham added a project: acl*outreachy-mentors.
srishakatux changed the visibility from "Public (No Login Required)" to "acl*outreachy-mentors (Project)".

Please do not add project tags as subscribers but always add them as project tags.

Vidhi-Mody renamed this task from QTE: Selenium Framework cleanup to QTE: Selenium Framework Cleanup.Sep 18 2020, 4:10 PM
Soham renamed this task from QTE: Selenium Framework Cleanup to Selenium Framework Cleanup.Sep 23 2020, 5:49 AM
srishakatux changed the visibility from "acl*outreachy-mentors (Project)" to "Public (No Login Required)".Oct 7 2020, 6:20 PM