Page MenuHomePhabricator

QA: Automation Testing - port Echo Notification tests to Node.js
Closed, ResolvedPublic

Description

Summary

MediaWiki and MediaWiki extensions automation framework is based on Selenium framework. Previously existing tests for Echo extension written in Ruby need to be ported now to Node.js. Since the existing test coverage is limited, adding new tests would improve test coverage.

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

@Etonkovidova

Microtasks

T204771: Outreachy microtask: Automation testing framework setup and running existing Echo node.js tests (#1)
T204775: Outreachy microtask: Writing Echo node.js tests (#2)

TODO

486411: smoke.js: Add a test that performs smoke tests for Echo notifications
490956 (Merge Conflict): echoCountApi.js and echo.api.js : Add test that check for api notification counts
492230 (Merge Conflict): mention.js : Add test that check for user mentions

Done

484711 (Abandoned): echo_flow_post.js: Add a test that checks for user notifications on flow posts.
484712 (Abandoned): smoke.js: Add a test that performs smoke tests for Echo notifications

Related Objects

Event Timeline

This message is for all candidates interested in working on this project for Outreachy. Please make sure that before you start working on this project, you've filled out an initial application to help Outreachy organizers verify whether or not you are eligible to participate in the program: https://www.outreachy.org/eligibility/. It should only take you 5 minutes to 30 minutes to complete.

Once you've submitted your initial application, it may take up to a week for Outreachy organizers to review your application and make a decision. Once you are approved, you can start working on the microtasks. In the meanwhile, read our participants guide https://www.mediawiki.org/wiki/Outreachy/Participants and learn about the Wikimedia movement https://www.wikimedia.org/.

@srishakatux

I am Sneha, I just finished my environment setup as mentioned. what will be my next step for contribution?

Thanks,
Sneha

Hi! Please check out the microtasks linked above. Thanks :)

@Snehaniranjana Were you able to finish all the steps listed in the microtask you were working on? It looks like one of the requirement was also to "document the steps and what improvements/additions to the current documentation you'd make." You could discuss with your mentor @zeljkofilipin @Etonkovidova where is the best place to document this process.

If you have finished working on a microtask, and you want to keep learning more about this project, then you could work on the second one. There is no limit on the number of tasks you should work on during the application period :-) All depends on your interest and time you have.

For, the next step, as the application deadline is October 30th, maybe another ten days from now you might want to start crafting your proposal (https://www.mediawiki.org/wiki/Outreachy/Participants#Application_process_steps).

Change 484711 had a related patch set uploaded (by Ephemeralwaves; owner: Ephemeralwaves):
[mediawiki/extensions/Echo@master] echo_flow_post.js: Add a test that checks for user notifications on flow posts.

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

Change 484711 abandoned by Ephemeralwaves:
echo_flow_post.js: Add a test that checks for user notifications on flow posts.

Reason:
Incorrect version and not linted

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

Change 486411 had a related patch set uploaded (by Ephemeralwaves; owner: Ephemeralwaves):
[mediawiki/extensions/Echo@master] smoke.js: Add a test that performs smoke tests for Echo notifications

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

I've assigned this to @Ephemeralwaves since she's already working on it.

zeljkofilipin moved this task from Waiting 🏹 to Deep work 🌊 on the User-zeljkofilipin board.

Change 486467 had a related patch set uploaded (by Zfilipin; owner: Zfilipin):
[integration/config@master] Add Giselle (Outreachy intern) to trusted users

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

Change 486467 merged by jenkins-bot:
[integration/config@master] Add Giselle (Outreachy intern) to trusted users

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

Change 490956 had a related patch set uploaded (by Ephemeralwaves; owner: Ephemeralwaves):
[mediawiki/extensions/Echo@master] echoCountApi.js and echo.api.js : Add test that check for api notification counts

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

Change 492230 had a related patch set uploaded (by Ephemeralwaves; owner: Ephemeralwaves):
[mediawiki/extensions/Echo@master] mention.js : Add test that check for user mentions

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

The follow-up task for ongoing work on Echo automation testing project is T217051: Echo notifications automation smoke test.

Change 490956 abandoned by Zfilipin:
echoCountApi.js and echo.page.js: Removed echo.api.js and merged code into echo.page.js.

Reason:
implemented in another patch

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

Change 486411 abandoned by Zfilipin:
Add a test that checks for notifications page

Reason:
implemented as smaller commits

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

Change 492230 abandoned by Zfilipin:
mention.js : Add test that check for user mentions

Reason:
implemented as smaller commits

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