Page MenuHomePhabricator

Evaluate WebdriverIO replacements for our browser automation framework
Open, MediumPublic

Description

Status

toolrepositorystatus
Cypressmediawiki/core5/19 (24 %)
Puppeteermediawiki/core9/19 (47 %)

We use WebdriverIO as a browser driver for our test automation framework. There are at least a couple of good alternatives. Evaluate how much work would it be to switch to an alternative. Subtasks are suggested alternatives. That is not an exclusive list. Feel free to suggest other alternatives.

The tool needs to support:

  • Chromium based browsers (Chrome...)
  • Firefox

Previous evaluation:

See also:

Subtasks:

Micro tasks:

Mentors:

Student:

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenSoham
OpenNone
ResolvedJdforrester-WMF
Resolvedzeljkofilipin
DuplicateNone
Openzeljkofilipin
Openzeljkofilipin
OpenNone
OpenSoham
OpenNone
Resolvedzeljkofilipin
InvalidGbahdeyboh
ResolvedGbahdeyboh
Resolvedzeljkofilipin
DeclinedGbahdeyboh
DuplicateSoham
Resolvedzeljkofilipin
OpenSoham
Openzeljkofilipin
Resolvedzeljkofilipin
ResolvedSoham
ResolvedDinp2
ResolvedGbahdeyboh
ResolvedNone
Resolvedzeljkofilipin
ResolvedGbahdeyboh
Resolvedzeljkofilipin
OpenSoham
ResolvedSoham
DeclinedGbahdeyboh
Resolvedzeljkofilipin
ResolvedNone
ResolvedSoham
Resolvedzeljkofilipin
Resolvedzeljkofilipin
OpenNone

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
zeljkofilipin renamed this task from Investigate WebdriverIO replacements for our browser automation framework to Evaluate WebdriverIO replacements for our browser automation framework.Mar 17 2020, 3:30 PM
zeljkofilipin updated the task description. (Show Details)

Hi, my name is Hugo, a computer engineering student from Chile and a GSoC aspirant.

I'd love to learn more about this project idea and see if I'm eligible to participate. I learned Javascript on my own a couple of weeks ago and I can learn any other language or framework if required.

I look forward to any news or advice to get started.

Regards!

@HugoMaxCL: I've created the first micro task, it's in the task description.

zeljkofilipin added a subscriber: Jpita.
Soham added a subscriber: Soham.EditedMar 18 2020, 7:42 PM

Dear Sir,
I, Soham Parekh, am currently in my Third Year of B.E. in Computer Engineering. In my college years Ive had the opportunity to work on several projects, many of which involved opensource technologies. Anything related to opensource tech fascinated me and it is this passion that has instilled in me the desire to give to the open source community. I was interested in many proposal ideas that Wikimedia Foundation had for this year so making the one I'd like to work on was a tough call.

However I was particularly interested in the project idea Evaluate WebdriverIO replacements for our browser automation framework. A major motivation for this is that during my recent projects, I got an opportunity to work with Cypress.js and Nightwatch.js and inorder to achieve completion of my project, know how of these automated testing frameworks would be essential. Through this project, not only would I get to give to the open source community but also get a chance to explore various web testing automation tools and how they compare to each other and would help me make a decision in turn as to what to choose for my own project.

I would be looking forward to hear from you.
Thanking You.

Warm Regards,
Soham Parekh

srishakatux updated the task description. (Show Details)Mar 18 2020, 11:46 PM

@AlQaholic007 there's no need for formalities. 😁 Please start with the micro task: T248016.

@HugoMaxCL, @AlQaholic007: please let me know if you have any questions of if you need help with the micro task.

Soham added a comment.Mar 19 2020, 5:27 PM

@zeljkofilipin sorry was waiting a response🙈🙈🙈 will be on it today

Soham added a comment.Mar 20 2020, 7:16 PM
This comment was removed by Soham.
Dinp2 added a subscriber: Dinp2.Mar 21 2020, 12:12 AM
zeljkofilipin added a comment.EditedMar 21 2020, 11:57 AM

@Dinp2 I'm working on micro-tasks for T247844 right now. T244763 is almost resolved, it's just waiting for code review, so there's nothing to do there.

Soham added a comment.EditedMar 21 2020, 1:32 PM

@zeljkofilipin getting on the Cypress and Puppeteer tasks

Jpita added a comment.Mar 24 2020, 2:23 AM

@zeljkofilipin do we run tests on firefox with wdio?

@Jpita Not at the moment, but we're not locked in to Chrome. We used to run tests on Firefox.

Jpita added a comment.Mar 24 2020, 3:16 PM

Cypress now supports firefox anyway

Yes, puppeteer supports firefox as well

Hello, My name is gaurav and i am persuing my engineering in computer science department , and am looking for a part of gsoc 2020 . So i think this project is perfect , i know i am a bit late for all this,but i can give my best in remaining time. I worked on both Java script and Node js and had a good expirence.
So can anyone tell me how can i start contributing in this project or which micro task should i do.

I would be looking forward to hear from you

Thank You
Gaurav

Hello, My name is gaurav and i am persuing my engineering in computer science department , and am looking for a part of gsoc 2020 . So i think this project is perfect , i know i am a bit late for all this,but i can give my best in remaining time. I worked on both Java script and Node js and had a good expirence.
So can anyone tell me how can i start contributing in this project or which micro task should i do.

I would be looking forward to hear from you

Thank You
Gaurav

Hi @Gaura87. In the task description above, There are 2 sub-tasks and each sub-tasks has corresponding Microtasks. You can jump on any of the sub-tasks you're most comfortable with and ask questions when stuck

Hi @Jpita, I'd love to send you a DM on zulip. Do you mind sharing your username/name?

(Note that private messages don't scale and don't help others.)

Soham added a comment.EditedMar 27 2020, 12:49 PM

@Jpita @zeljkofilipin just a query, we will be evaluating both Puppeteer and Cypress as replacements right? I am asking this because based off of what I could understand from documentation, Cypress does not support Firefox

Soham added a comment.EditedMar 27 2020, 5:24 PM

Cypress now supports firefox anyway

Can you guide me to a resource for this? It said their support for Firefox browsers is in beta

In T247835#6005939, @AlQaholic007 wrote:

Cypress now supports firefox anyway

Can you guide me to a resource for this? It said their support for Firefox browsers is in beta

The official docs are very well done https://docs.cypress.io/guides/guides/cross-browser-testing.html

@Jpita @zeljkofilipin. Can you kindly point me to a place where I can view a list of all projects that makes use of WebdriverIO as it's browser automation framework?

Hi @Jpita, I'd love to send you a DM on zulip. Do you mind sharing your username/name?

Not all mentors are using zulip yet. Also, as @Aklapper said, it's better to ask questions in public.

@Jpita @zeljkofilipin. Can you kindly point me to a place where I can view a list of all projects that makes use of WebdriverIO as it's browser automation framework?

This page has all repositories that I'm aware of (in Wikimedia context): https://www.mediawiki.org/wiki/Selenium/Reference/Example_Code

Soham added a comment.EditedMar 28 2020, 2:08 PM

@zeljkofilipin @Jpita are we evaluating for all the repos that use WebDriverIO or just mediawiki/core and then use that evaluation as the basis of remainder of front end repos?

@AlQaholic007 I would suggest rewriting tests in cypress/puppeteer for at least mediawiki/core and a few other repositories, so we could then estimate the effort of moving all repositories to the alternative.

Soham added a comment.Mar 28 2020, 3:17 PM

@AlQaholic007 I would suggest rewriting tests in cypress/puppeteer for at least mediawiki/core and a few other repositories, so we could then estimate the effort of moving all repositories to the alternative.

Yes i had the same idea in mind. Based on evaluations we can then migrate it to other repos using WebdriverIO

Dinp2 removed a subscriber: Dinp2.Apr 3 2020, 11:06 AM
zeljkofilipin updated the task description. (Show Details)Apr 3 2020, 6:01 PM
zeljkofilipin updated the task description. (Show Details)
zeljkofilipin moved this task from Backlog to Project on the User-Soham board.Fri, Jun 19, 1:55 PM