Page MenuHomePhabricator

QA: Automation Testing - creating tests for Special:Homepage (GrowthExperiments)
Closed, ResolvedPublic

Description

Summary

The project - Special:Homepage - is a page that provide information for newcomers. The page's UI and functionality are in active development and currently don't have automated tests for regression testing. Adding automated tests would reduce time spent on regression testing and increase overall test coverage for functional testing.

MediaWiki extensions automation framework is based on Selenium framework. Since Special:Homepage is present on mobile, it'd be great to have automated tests cover mobile testing as well.

The tests should be written as Node.js tests.

Note:
the zulip channel for questions/discussions is Phab.20T233469 Automation Testing.

Skills required
  • knowledge of Selenium
  • basic knowledge of Javascript (Node.js)
  • previous experience with automation testing (including mobile testing)
Possible mentor(s)

@Etonkovidova

Microtasks

T233674: Outreachy microtask: Automation testing framework setup (#1)
T233751: Outreachy microtask: Writing node.js tests (#2)

Event Timeline

Etonkovidova renamed this task from QA: Automatino testing - creating automation tests for Special:Homepage (GrowthExperiments) to QA: Automation testing - creating automation tests for Special:Homepage (GrowthExperiments).Sep 23 2019, 3:57 AM
Etonkovidova renamed this task from QA: Automation testing - creating automation tests for Special:Homepage (GrowthExperiments) to QA: Automation Testing - creating tests for Special:Homepage (GrowthExperiments).
srishakatux set Security to Other confidential issue.Sep 23 2019, 7:15 PM
srishakatux changed the visibility from "Public (No Login Required)" to "acl*outreachy-mentors (Project)".Sep 26 2019, 11:15 PM
srishakatux changed the edit policy from "All Users" to "acl*outreachy-mentors (Project)".

(we will make this project public on Oct 1 as per Outreachy's guidelines)

srishakatux changed the visibility from "acl*outreachy-mentors (Project)" to "Public (No Login Required)".Oct 1 2019, 5:56 PM
srishakatux changed the edit policy from "acl*outreachy-mentors (Project)" to "All Users".

(contribution period is now open)

Hi, I'm Sim Tran from Vietnam, an Outreachy applicant. I'm interested in this project and would like to learn how to start contributing to it.

@SimTran - you're welcome! Please start with microtasks listed in this task description. The zulip stream for questions/discussions is stream:Wikimedia+QA:+Automation+Testing.

Change 555919 had a related patch set uploaded (by Zfilipin; owner: Simkawaii):
[mediawiki/extensions/GrowthExperiments@master] Selenium: Add a test for Special:Homepage page Add a test to check first heading of Special:Homepage page Modified files: pageobjects/homepage.page.js and specs/homepage.js

https://gerrit.wikimedia.org/r/555919

Change 557098 had a related patch set uploaded (by Simkawaii; owner: Simkawaii):
[mediawiki/extensions/GrowthExperiments@master] Selenium tests for verifying default page when click on username link

https://gerrit.wikimedia.org/r/557098

Change 555919 merged by jenkins-bot:
[mediawiki/extensions/GrowthExperiments@master] Tests: Add Selenium test for heading contents on Special:Homepage

https://gerrit.wikimedia.org/r/555919

Change 558549 had a related patch set uploaded (by Simkawaii; owner: Simkawaii):
[mediawiki/extensions/GrowthExperiments@master] Selenium test for verifying the availability of modules

https://gerrit.wikimedia.org/r/558549

Change 560421 had a related patch set uploaded (by Simkawaii; owner: Simkawaii):
[mediawiki/extensions/GrowthExperiments@master] Selenium tests for verifying the sections of Start module

https://gerrit.wikimedia.org/r/560421

As the Outreachy Round 19 has ended, could you consider marking this task as resolved? If not, could you share what else is remaining?

Change 557098 abandoned by Kosta Harlan:

[mediawiki/extensions/GrowthExperiments@master] Selenium tests for verifying default page when click on username link

Reason:

https://gerrit.wikimedia.org/r/557098

Change 560421 abandoned by Kosta Harlan:

[mediawiki/extensions/GrowthExperiments@master] Selenium tests for verifying the sections of Start module

Reason:

Start module doesn't exist anymore

https://gerrit.wikimedia.org/r/560421

Change 558549 abandoned by Kosta Harlan:

[mediawiki/extensions/GrowthExperiments@master] Selenium test for verifying the availability of modules

Reason:

This is better suited to a PHPUnit integration test

https://gerrit.wikimedia.org/r/558549