Page MenuHomePhabricator

Set up api-testing in CI for mediawiki-extensions-GrowthExperiments
Closed, ResolvedPublic

Description

Patch https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/593062 introduces api-testing framework tests, but they are not yet run in CI.

Before they run in CI, we need to set up a StaticConfigurationLoader for newcomer tasks. Then we have to setup the template in CI for the tests to run.

Event Timeline

kostajh changed the task status from Open to Stalled.Feb 25 2021, 11:18 AM
kostajh edited projects, added Growth-Team; removed Growth-Team (Current Sprint).

Blocked on T267928: Configuration Modes, I think.

kostajh changed the task status from Stalled to Open.Jan 27 2022, 10:31 AM
kostajh claimed this task.

Blocked on T267928: Configuration Modes, I think.

We can use the same technique as with Selenium tests to load the LocalSettings file that allows for newcomer tasks to be defined.

Change 757624 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] api-testing: Load LocalSettings.php from Selenium tests

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

Change 757625 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/config@master] layout: Enable apitests for GrowthExperiments

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

Change 757624 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] api-testing: Load LocalSettings.php from Selenium tests

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

Change 757625 merged by jenkins-bot:

[integration/config@master] layout: Enable apitests for GrowthExperiments

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

Change 757669 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] [WIP] Fix api-tests in CI

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

Change 757669 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Fix api-testing tests in CI

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

kostajh moved this task from Code Review to QA on the Growth-Team (Current Sprint) board.