Page MenuHomePhabricator

selenium-daily-beta Jenkins jobs should have junit publisher
Closed, ResolvedPublic

Description

Dashboard: https://integration.wikimedia.org/ci/view/selenium-daily/

selenium-daily-beta-CirrusSearch job has junit reporter because Test Result Trend chart is visible. All other jobs don't have it.

To enable it, junit reporter should be added to tests/selenium/wdio.conf.js file.

Before:

	// Test reporter for stdout.
	// See also: http://webdriver.io/guide/testrunner/reporters.html
	reporters: [ 'spec' ]

After:

	// Test reporter for stdout.
	// See:
	// https://webdriver.io/docs/spec-reporter
	// https://webdriver.io/docs/junit-reporter
	reporters: [
		'spec',
		[ 'junit', {
			outputDir: logPath,
			outputFileFormat: function () {
				const makeFilenameDate = new Date().toISOString().replace( /[:.]/g, '-' );
				return `WDIO.xunit-${makeFilenameDate}.xml`;
			}
		} ]
	],
repositoryjobreporter(s)commitstatus
mediawiki/coreselenium-daily-beta-MediaWiki selenium-daily-betacommons-MediaWikidot, junit, video683294
mediawiki/extensions/AbuseFilter
mediawiki/extensions/AdvancedSearchselenium-daily-beta-AdvancedSearchspec, junit684479
mediawiki/extensions/CentralNoticeselenium-daily-beta-CentralNoticespec683594
mediawiki/extensions/CirrusSearchselenium-daily-beta-CirrusSearchspec, junit
mediawiki/extensions/Cite
mediawiki/extensions/CodeMirror
mediawiki/extensions/Echoselenium-daily-beta-Echospec683610
mediawiki/extensions/ElectronPdfService
mediawiki/extensions/EntitySchema
mediawiki/extensions/FileImporter
mediawiki/extensions/GrowthExperiments
mediawiki/extensions/Mathselenium-daily-beta-Mathspec683621
mediawiki/extensions/MobileFrontendselenium-daily-beta-MobileFrontendspec683656
mediawiki/extensions/Newsletterselenium-daily-beta-Newsletterspec, junit682980
mediawiki/extensions/Popupsselenium-daily-beta-Popupsspec, junit682991
mediawiki/extensions/ProofreadPage
mediawiki/extensions/RelatedArticlesselenium-daily-beta-RelatedArticlesspec683662
mediawiki/extensions/RevisionSlider
mediawiki/extensions/TemplateWizard
mediawiki/extensions/TwoColConflictselenium-daily-beta-TwoColConflictspec, junit, video683018
mediawiki/extensions/Wikibase
mediawiki/extensions/WikibaseLexemeselenium-daily-beta-WikibaseLexemespec683673
mediawiki/extensions/WikibaseMediaInfo
mediawiki/skins/MinervaNeueselenium-daily-beta-Minervaspec683678
phabricator/deployment
wikibase/termbox
wikidata/query/gui
wikimedia/portals/deploy
wmde/wdio-wikibase

Event Timeline

zeljkofilipin moved this task from Inbox to Selenium on the MediaWiki-Core-Tests board.
zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)

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

[mediawiki/extensions/Newsletter@master] selenium: fix JUnit reporter

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

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

[mediawiki/extensions/Popups@master] selenium: fix JUnit reporter

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

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

[mediawiki/extensions/TwoColConflict@master] selenium: fix JUnit reporter

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

Change 683018 merged by jenkins-bot:

[mediawiki/extensions/TwoColConflict@master] selenium: fix JUnit reporter

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

Change 682991 merged by jenkins-bot:

[mediawiki/extensions/Popups@master] selenium: fix JUnit reporter

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

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

[mediawiki/core@master] selenium: fix JUnit reporter

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

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

[mediawiki/extensions/CentralNotice@master] selenium: Add JUnit reporter

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

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

[mediawiki/extensions/Echo@master] selenium: Add JUnit reporter

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

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

[mediawiki/extensions/Math@master] selenium: Add JUnit reporter

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

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

[mediawiki/extensions/MobileFrontend@master] selenium: Add JUnit reporter

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

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

[mediawiki/extensions/RelatedArticles@master] selenium: Add JUnit reporter

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

Change 682980 merged by jenkins-bot:

[mediawiki/extensions/Newsletter@master] selenium: Fix JUnit reporter

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

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

[mediawiki/extensions/WikibaseLexeme@master] selenium: Add JUnit reporter

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

Change 683294 merged by jenkins-bot:

[mediawiki/core@master] selenium: Fix JUnit reporter

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

Change 683610 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] selenium: Add JUnit reporter

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

Change 683662 merged by jenkins-bot:

[mediawiki/extensions/RelatedArticles@master] selenium: Add JUnit reporter

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

Change 683621 merged by jenkins-bot:

[mediawiki/extensions/Math@master] selenium: Add JUnit reporter

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

Change 683656 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] selenium: Add JUnit reporter

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

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

[mediawiki/skins/MinervaNeue@master] selenium: Add JUnit reporter

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

Change 683594 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] selenium: Add JUnit reporter

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

Change 683678 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] selenium: Add JUnit reporter

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

Change 683673 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] selenium: Add JUnit reporter

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

zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)
zeljkofilipin updated the task description. (Show Details)

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

[mediawiki/extensions/AdvancedSearch@master] selenium: Fix JUnit reporter

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

Change 684479 merged by jenkins-bot:

[mediawiki/extensions/AdvancedSearch@master] selenium: Fix JUnit reporter

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

zeljkofilipin updated the task description. (Show Details)