[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-13 Thread ItamarWMDE
ItamarWMDE added a comment.


  For now I'd like to keep them as we go over the wdwb-tech board to see what 
else is left, and these are good prompts for potentially rewriting the tests 
these relate to in another technology / framework. But indeed, currently they 
remain unowned.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-13 Thread zeljkofilipin
zeljkofilipin added a comment.


  @ItamarWMDE thanks! Is there a reason T180451: Port Selenium tests from Ruby 
to Node.js for WMDE Engineering repositories 
 and it's subtasks (T222745 
, T222746 
, T222748 
, T222749 
, T222751 
) are still open?

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE, zeljkofilipin
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-12 Thread ItamarWMDE
ItamarWMDE closed this task as "Resolved".
ItamarWMDE claimed this task.
ItamarWMDE added a comment.
Restricted Application added a project: User-ItamarWMDE.


  Yes, as these tests no longer exist I don't see why not.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-11 Thread zeljkofilipin
zeljkofilipin moved this task from Deep work  to Waiting  on the 
User-zeljkofilipin board.
zeljkofilipin added a comment.


  Can this task (and it's subtasks) be resolved? There are no more Ruby 
Selenium tests in Wikibase.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

WORKBOARD
  https://phabricator.wikimedia.org/project/board/1938/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zeljkofilipin
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-11 Thread zeljkofilipin
zeljkofilipin added a project: User-zeljkofilipin.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zeljkofilipin
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-08 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Maintenance_bot
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Addshore, Mbch331, Isabelladantes1983, Themindcoder, Adamm71, Jersione, 
Hellket777, LisafBia6531, 786, Biggs657, Juan90264, Alter-paule, Beast1978, 
Un1tY, Hook696, Kent7301, joker88john, CucyNoiD, Gaboe420, Giuliamocci, 
Cpaulf30, Af420, Bsandipan, Lewizho99, Maathavan, Neuronton
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-09-08 Thread gerritbot
gerritbot added a comment.


  Change 921696 **merged** by jenkins-bot:
  
  [mediawiki/extensions/Wikibase@master] Drop all Ruby browser tests, sadly 
effectively abandonware
  
  https://gerrit.wikimedia.org/r/921696

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Isabelladantes1983, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-08-02 Thread ItamarWMDE
ItamarWMDE moved this task from Incoming to Prioritized on the 
wmde-wikidata-tech board.
ItamarWMDE added a project: Wikidata Dev Team.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

WORKBOARD
  https://phabricator.wikimedia.org/project/board/5864/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Isabelladantes1983, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-08-02 Thread ItamarWMDE
ItamarWMDE added a comment.


  **Task Review Notes**:
  
  - After discussion with Leszek, and in light of upcoming-ui work on the item 
page, it was concluded that we should be able to remove these tests for the 
time being. In the case where we want to recreate some of the scenarios covered 
in these tests, we can check out the commit before removal for a local review.
  
  **Task Prio Notes**:
  
  - Does not affect end users / production
  - Does not affect monitoring
  - Affects development efforts
  - Does not affect onboarding efforts
  - Affects additional stakeholders

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Danny_Benjafield_WMDE, Isabelladantes1983, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, Addshore, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-05-21 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Themindcoder, Adamm71, Jersione, Hellket777, 
LisafBia6531, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, 
maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, 
Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, 
Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-05-21 Thread gerritbot
gerritbot added a comment.


  Change 921696 had a related patch set uploaded (by Jforrester; author: 
Jforrester):
  
  [mediawiki/extensions/Wikibase@master] Drop all Ruby browser tests, sadly 
effectively abandonware
  
  https://gerrit.wikimedia.org/r/921696

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-05-21 Thread hoo
hoo added a comment.


  These tests just broke (fixed in a1283ff1b6150bef70c786cd40a060d65c06ad35 
),
 but fixing them took me quite some time because I have very little memory of 
how that stuff works and I have not run them locally in years (and I doubt 
anyone has!).

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: hoo
Cc: hoo, Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2023-01-18 Thread ItamarWMDE
ItamarWMDE added a project: wmde-wikidata-tech.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-09-17 Thread zeljkofilipin
zeljkofilipin added a project: Ruby.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zeljkofilipin
Cc: Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-07-20 Thread Addshore
Addshore removed a project: Wikidata-Campsite.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-07-14 Thread Addshore
Addshore lowered the priority of this task from "Medium" to "Low".

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-06-25 Thread Michael
Michael added a comment.


  TL;DR: We should take some time to consider alternatives to 
Selenium+Webdriver.IO before rewriting a large number of Ruby tests.
  
  Reevaluate our choice of browser testing framework
  --
  
  We are about to commit a significant amount of time into rewriting //a lot// 
of ruby tests. Before we commit to this massive marathon, we should ask 
ourselves if the intended goal format, which we have been using for the last 4 
years, is still our best option, given our experiences with it so far and how 
the alternatives developed.
  Since the beginning of this year, there were some investigations into Cypress 
by several WMDE developers, with a generally favorable impression. Also, the 
Query Builder repository uses Cypress as its browser testing framework.
  So if ever consider switching away from Selenium+Webdriver.io, then it should 
be //before// we rewrite a large number of tests. Meaning: //Now//.
  
  Problems with the current setup - reasons to reconsider
  ---
  
  1. **flakiness**: The current tests are sometimes quite flaky, causing 
unreleated test failures in Jenkins.
- There is a good chance that part of this not due to Webdriver, but the CI 
VM doing strange things: T281122 
- OTOH, Lexeme daily tests on beta currently forget that they just clicked 
the login button and then fail because they can't click the login button 

  
  2. **deprecation of a central component**: We may have to rewrite all 
Selenium/Webdriver Browser tests to use `async/await` everywhere at some point:
  
  > Caution: 
  > As of 14/04/2021 sync mode will not be supported anymore starting from 
Node.js v16 due to changes in Chromium. If you start a project with WebdriverIO 
we recommend to not use sync mode anymore. The community is working on a 
transition plan, read more on that in this RFC 
.
  
  - Sync vs. Async Mode 
  
  Though maybe there will be a codemod to mass-rewrite all tests. And given the 
speed at which WMF updates their CI infrastructure, it might be some time till 
we hit Nodejs 16, so this is probably not an issue for a while. That being 
said, the new `async/await` style of writing these tests is //really// 
unappealing, because we need to add `await` to basically //everything//. How 
this would look can be seen in a Wikidata Bridge patch 
.
  
  3. **DX**: Finally, it seems that the Dev Experience writing browser tests is 
currently generally low, and it is considered a rather disliked chore. 
Improving this aspect could improve overall dev satisfaction and help 
proliferate better development practices such as Outside-In TDD.
  
  
  
  Alternatives to Consider
  
  
  The two main alternatives to be consider would be Cypress and Puppeteer (and 
maybe Playwright).
  
  - Cypress is already used by the Query Builder project on the WMF CI 
infrastructure
  - Puppeteer is already used by the WMDE FUN team: "dandy" test runner 

  - (AFAICT, WMDE has no prior experience with Playwright)
  
  
  
  WD/WB experience with Cypress
  -
  
  - Cypress was evaluated during a "Ginger Beer and Cake" event in early 2021 

  - It is used in the Query Builder repository within the WMF CI infrastructure 
and works with just the standard config 

  
  
  
  Some Cypress Advantages we noticed
  --
  
  - interactive test runner/dashboard is really nice in terms of DX
  - request mocking can be very useful for a frontend project (Though 
webdriver.io seems to have acquired some capabilities in this regard in one of 
the v6 minor releases)
  - works out-of-the-box with existing WMF CI infrastructure and also locally
  - there is some specialized work happening towards enabling **first-class vue 
component testing**, based on this VueConfUS 2020 talk 

  
  
  
  Previous work by WMF:
  -
  
  - Selenium WebdriverIO was chosen as a Ruby alternative in April 2017 

- Puppeteer and Playwright didn't exist back then, Cypress did but 
apparently wasn't evaluated? 
  - In Summer 2020 WMF had Google Summer of Code students evaluate Cypress, 
Puppeteer and Playwright as alternatives to 

[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-04-20 Thread Addshore
Addshore added a project: Wikidata-Campsite.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Tonina_Zhelyazkova_WMDE, Jdforrester-WMF, Lydia_Pintscher, Addshore, 
Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, 
Aklapper, zeljkofilipin, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-04-16 Thread Jdforrester-WMF
Jdforrester-WMF added a comment.


  In T180228#6770168 , 
@Addshore wrote:
  
  > Moving this to the freezer, as one day this will happen, but we long as we 
can keep running and don't need to actively work on them it is likely not worth 
the effort.
  
  Please, no. This is the last repo to be using this ultra-legacy system which 
we've been trying to delete for years.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Jdforrester-WMF
Cc: Jdforrester-WMF, Lydia_Pintscher, Addshore, Lucas_Werkmeister_WMDE, 
alaa_wmde, WMDE-leszek, Michael, Ladsgroup, gerritbot, Aklapper, zeljkofilipin, 
Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T180228: Port Wikibase Selenium tests from Ruby to Node.js

2021-01-22 Thread Addshore
Addshore added a comment.


  Moving this to the freezer, as one day this will happen, but we long as we 
can keep running and don't need to actively work on them it is likely not worth 
the effort.

TASK DETAIL
  https://phabricator.wikimedia.org/T180228

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Lydia_Pintscher, Addshore, Lucas_Werkmeister_WMDE, alaa_wmde, WMDE-leszek, 
Michael, Ladsgroup, gerritbot, Aklapper, zeljkofilipin, Akuckartz, Nandana, 
Lahi, Gq86, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs