GrowthExperiments solely requires CommunityConfiguration and VisualEditor
wfLoadSkin( 'Vector' ); wfLoadExtensions( [ 'GrowthExperiments', 'CommunityConfiguration', 'VisualEditor', ] );
Some tests rely on other extensions which leads to 22 errors and 9 failures. Those tests should be skipped instead.
1) GrowthExperiments\Tests\Integration\ApiQueryGrowthTasksTest::testExecute
MediaWiki\Api\ApiUsageException: Too many values supplied for parameter "gttasktypes". The limit is 1.
2) GrowthExperiments\Tests\Integration\ApiQueryImageSuggestionDataTest::testQuery
MediaWiki\Api\ApiUsageException: The "Suggested edits" module has been disabled.
3) GrowthExperiments\Tests\Integration\HomepageHooksTest::testGetTaskTypesJsonParsesNonbreakingSpaceCorrectly
Undefined array key "tt1"
4) GrowthExperiments\Tests\Integration\LinkRecommendationUpdaterTest::testProcessCandidateExcludedTemplate
Error: Class "CirrusSearch\CirrusSearchServices" not found
5) GrowthExperiments\Tests\Integration\LinkRecommendationUpdaterTest::testProcessCandidateExcludedCategory
Error: Class "CirrusSearch\CirrusSearchServices" not found
6) GrowthExperiments\Tests\Integration\LinkRecommendationUpdaterTest::testProcessCandidateRecentlyEdited
Error: Class "CirrusSearch\CirrusSearchServices" not found
7) GrowthExperiments\Tests\Integration\NewcomerTasksPageUpdatedSubscriberTest::testDoNotClearLinkRecommendationForNewPage
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "CirrusSearch\WeightedTagsUpdater" does not exist
8) GrowthExperiments\Tests\Integration\AddLinkSuggestionsHandlerTest::testRun
MediaWiki\Rest\HttpException: Disabled
9) GrowthExperiments\Tests\Integration\ServiceWiringTest::testService with data set "GrowthExperimentsLinkRecommendationUpdater" ('GrowthExperimentsLinkRecommen...pdater')
Error: Class "CirrusSearch\CirrusSearchServices" not found
10) GrowthExperiments\Tests\Integration\ComputedUserImpactLookupTest::testGetUserImpactForTemporaryAccount
Error: Call to a member function getUser() on null
11) GrowthExperiments\Tests\Integration\RefreshLinkRecommendationsTest::testIteratingThroughAllPages_storesHandoverAfterLimitReached
Error: Class "CirrusSearch\CirrusSearchServices" not found
12) GrowthExperiments\Tests\Integration\RefreshLinkRecommendationsTest::testIteratingThroughAllPages_pickupAtStoredPageId
Error: Class "CirrusSearch\CirrusSearchServices" not found
13) GrowthExperiments\Tests\Integration\RefreshLinkRecommendationsTest::testCanSetLastPageIdInStashManually
Error: Class "CirrusSearch\CirrusSearchServices" not found
14) GrowthExperiments\Tests\Unit\HomepageHooksTest::testOnCirrusSearchScoreBuilder
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "CirrusSearch\Search\SearchContext" does not exist
15) GrowthExperiments\Tests\Unit\HomepageHooksTest::testOnCirrusSearchScoreBuilderDisabled
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "CirrusSearch\Search\SearchContext" does not exist
16) GrowthExperiments\Tests\Unit\SuggestedEditsTest::testAddsReviseToneIfNotInitiated
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "MediaWiki\Minerva\Skins\SkinMinerva" does not exist
17) GrowthExperiments\Tests\Unit\SuggestedEditsTest::testAddsNoReviseToneIfInitiated
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "MediaWiki\Minerva\Skins\SkinMinerva" does not exist
18) GrowthExperiments\Tests\Unit\AddImageSubmissionHandlerTest::testValidateAccepted
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "CirrusSearch\WeightedTagsUpdater" does not exist
19) GrowthExperiments\Tests\Unit\AddImageSubmissionHandlerTest::testValidateAcceptedSectionImage
PHPUnit\Framework\MockObject\UnknownTypeException: Class or interface "CirrusSearch\WeightedTagsUpdater" does not exist
20) GrowthExperiments\Tests\Unit\TopicDecoratorTest::testUseOresTopics
Error: Class "CirrusSearch\Query\ArticleTopicFeature" not found
21) Error
The data provider specified for GrowthExperiments\Tests\Unit\NewcomerTasks\Topic\WikimediaTopicRegistryTest::testGetTopics is invalid.
Error: Class "MediaWiki\Extension\WikimediaMessages\ArticleTopicFiltersRegistry" not found
22) GrowthExperiments\Tests\Unit\NewcomerTasks\Topic\WikimediaTopicRegistryTest::testGetCampaignTopics
Error: Class "MediaWiki\Extension\WikimediaMessages\ArticleTopicFiltersRegistry" not found