Page MenuHomePhabricator

Replace Node.js Assert library with WebdriverIO Expect library
Open, In Progress, LowPublic

Description

Status

  • 17/46 repositories (37%)

Notes

From T324857: The Web App Testing Guidebook (pdf version).

Page 76:

  • It’s easier to write (in my opinion, you’re welcome to disagree)
  • You get better error messages
  • It automatically retries failed assertions

Page 79:

One final note for now on this. Aside from the WebdriverIO specific assertions expect-webdriverio
adds, you also gain access to the built-in ExpectJS assertions.

TODO

RepositoryGerritexpect (T325740)
mediawiki/core1073174βœ…
mediawiki/extensions/AbuseFilter1093304 1093907πŸ’£
mediawiki/extensions/AchievementBadges1080278βœ…
mediawiki/extensions/AdvancedSearch1090471βœ…
mediawiki/extensions/CampaignEvents1073754βœ…
mediawiki/extensions/Cargo
mediawiki/extensions/CentralNotice
mediawiki/extensions/CheckUser1091238 1093887πŸ’£
mediawiki/extensions/CirrusSearch/tests/integration
mediawiki/extensions/CirrusSearch/tests/selenium
mediawiki/extensions/CodeMirror
mediawiki/extensions/ContactPage1078924βœ…
mediawiki/extensions/ContentTranslationβœ…
mediawiki/extensions/Echo1088328 1093910πŸ’£
mediawiki/extensions/ElectronPdfService1088331βœ…
mediawiki/extensions/examples1080058βœ…
mediawiki/extensions/FacetedCategory1088335βœ…
mediawiki/extensions/FileImporter
mediawiki/extensions/GlobalWatchlist1074120βœ…
mediawiki/extensions/GrowthExperimentsπŸ”₯
mediawiki/extensions/IPInfo1075584βœ…
mediawiki/extensions/Math1080625βœ…
mediawiki/extensions/Newsletter1081090βœ…
mediawiki/extensions/PageTriage1088340βœ…
mediawiki/extensions/Popups1093915βœ…
mediawiki/extensions/ProofreadPage
mediawiki/extensions/RelatedArticles1090457πŸ’£
mediawiki/extensions/ReportIncident
mediawiki/extensions/RevisionSlider1098487πŸ’£
mediawiki/extensions/Sanctions
mediawiki/extensions/TemplateWizard1090461πŸ’£
mediawiki/extensions/TwoColConflict
mediawiki/extensions/VisualEditor1090466
mediawiki/extensions/Wikibase/clientπŸ”₯
mediawiki/extensions/Wikibase/repo951062πŸ”₯
mediawiki/extensions/WikiLambdaπŸ”₯
mediawiki/extensions/Wikistories
mediawiki/skins/MinervaNeue
wikibase/termbox951069βœ…
wikidata/query/gui
edwardspec/mediawiki-moderation90βœ…
femiwiki/FemiwikiSkin
wmde/banner-screenshots
wmde/wdio-wikibase
wmde/wikibase-release-pipeline
commtech/wishlist-intake
data-engineering/mpic

Notes

Details

SubjectRepoBranchLines /-
mediawiki/extensions/RevisionSlidermaster 126 -111
mediawiki/extensions/Echomaster 3 -4
mediawiki/extensions/Popupsmaster 9 -23
mediawiki/extensions/CheckUsermaster 7 -8
mediawiki/extensions/AdvancedSearchmaster 56 -61
mediawiki/extensions/RelatedArticlesmaster 9 -16
mediawiki/extensions/Echomaster 8 -9
mediawiki/extensions/AbuseFiltermaster 23 -32
mediawiki/extensions/RelatedArticlesmaster 9 -16
mediawiki/extensions/AbuseFiltermaster 24 -28
mediawiki/extensions/CheckUsermaster 36 -39
mediawiki/extensions/TemplateWizardmaster 6 -7
mediawiki/extensions/CampaignEventsmaster 11 -11
mediawiki/extensions/VisualEditormaster 13 -15
mediawiki/extensions/PageTriagemaster 22 -28
mediawiki/extensions/FacetedCategorymaster 4 -11
mediawiki/extensions/ElectronPdfServicemaster 3 -4
mediawiki/extensions/Newslettermaster 2 -3
mediawiki/extensions/Mathmaster 3 -4
mediawiki/extensions/AchievementBadgesmaster 3 -4
mediawiki/extensions/examplesmaster 1 -2
mediawiki/extensions/GlobalWatchlistmaster 6 -9
mediawiki/extensions/ContactPagemaster 2 -3
mediawiki/extensions/IPInfomaster 30 -55
mediawiki/coremaster 40 -57
mediawiki/extensions/CampaignEventsmaster 11 -14
mediawiki/coremaster 6 -2
mediawiki/coremaster 10 -10
mediawiki/extensions/Wikibasemaster 10 -18
wikibase/termboxmaster 38 -57
mediawiki/coremaster 3 -3
mediawiki/coremaster 4 -4
Show related patches Customize query in gerrit

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change #1074120 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/GlobalWatchlist@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1073174 merged by jenkins-bot:

[mediawiki/core@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1075584 had a related patch set uploaded (by MΓ‘tΓ© SzabΓ³; author: MΓ‘tΓ© SzabΓ³):

[mediawiki/extensions/IPInfo@master] selenium: Use WDIO expect() over Node assertions

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

Change #1075584 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] selenium: Use WDIO expect() over Node assertions

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

zeljkofilipin changed the task status from In Progress to Open.Sep 30 2024, 2:12 PM
zeljkofilipin removed zeljkofilipin as the assignee of this task.
zeljkofilipin raised the priority of this task from Low to Needs Triage.
zeljkofilipin moved this task from Deep work 🌊 to Q2 πŸ‘” on the User-zeljkofilipin board.
zeljkofilipin changed the task status from Open to In Progress.Oct 8 2024, 10:40 AM
zeljkofilipin claimed this task.
zeljkofilipin triaged this task as Low priority.
zeljkofilipin moved this task from Q2 πŸ‘” to Deep work 🌊 on the User-zeljkofilipin board.

Change #1078924 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/ContactPage@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1078924 merged by jenkins-bot:

[mediawiki/extensions/ContactPage@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1074120 merged by jenkins-bot:

[mediawiki/extensions/GlobalWatchlist@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1080058 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/examples@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1080058 merged by jenkins-bot:

[mediawiki/extensions/examples@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1080278 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/AchievementBadges@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1080625 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/Math@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1081090 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/Newsletter@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1080625 merged by jenkins-bot:

[mediawiki/extensions/Math@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1080278 merged by jenkins-bot:

[mediawiki/extensions/AchievementBadges@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1081090 merged by jenkins-bot:

[mediawiki/extensions/Newsletter@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

zeljkofilipin changed the task status from In Progress to Open.Wed, Nov 6, 10:51 AM
zeljkofilipin removed zeljkofilipin as the assignee of this task.
zeljkofilipin raised the priority of this task from Low to Needs Triage.
zeljkofilipin moved this task from Deep work 🌊 to Q2 πŸ‘” on the User-zeljkofilipin board.
zeljkofilipin changed the task status from Open to In Progress.Thu, Nov 7, 3:29 PM
zeljkofilipin claimed this task.
zeljkofilipin moved this task from Q2 πŸ‘” to Deep work 🌊 on the User-zeljkofilipin board.

Change #1088328 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/Echo@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1088331 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/ElectronPdfService@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1088335 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/FacetedCategory@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1088331 merged by jenkins-bot:

[mediawiki/extensions/ElectronPdfService@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1088340 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/PageTriage@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1088335 merged by jenkins-bot:

[mediawiki/extensions/FacetedCategory@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1088340 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1090457 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/RelatedArticles@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1090461 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/TemplateWizard@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1090466 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/VisualEditor@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1090471 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/AdvancedSearch@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1090466 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1073756 abandoned by Zfilipin:

[mediawiki/extensions/CampaignEvents@master] selenium: Add missing await operators

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

Change #1091238 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/CheckUser@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093304 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/AbuseFilter@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093887 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/CheckUser@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093887 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093907 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/AbuseFilter@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093910 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/Echo@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093912 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/RelatedArticles@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093912 abandoned by Zfilipin:

[mediawiki/extensions/RelatedArticles@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093915 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/Popups@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1090471 merged by jenkins-bot:

[mediawiki/extensions/AdvancedSearch@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1091238 abandoned by Dreamy Jazz:

[mediawiki/extensions/CheckUser@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

Reason:

Done through b8e1f9386af85f38436c58f2e0cfd680805e2881.

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

Change #1093915 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1098487 had a related patch set uploaded (by Zfilipin; author: Zfilipin):

[mediawiki/extensions/RevisionSlider@master] WIP selenium: Replace Node.js Assert library with WebdriverIO Expect library

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

Change #1093910 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] selenium: Replace Node.js Assert library with WebdriverIO Expect library

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