Summary of test cases for Community Configuration form:
✅ **DONE (1) **(from [[ https://phabricator.wikimedia.org/T356622#9644577 | this comment on T356622 ]]).
Getting error `communityconfiguration-schema-validation-error` in the Console on wiki/Special:CommunityConfiguration/FooBar.
- click on Submit button without entering anything
- The error is in the Console only; no warning to a user.
✅ **DONE **(2)** (from [[ https://phabricator.wikimedia.org/T360148#9652156 | this comment on T360148 ]])
Error handling on `MediaWiki:ExampleConfig.json`
|content| result
|---|---
|`{}`|{F42971925}
|`[]`|{F42973171}
|empty page|{F42973181}
✅ **DONE** (3) Error handling for Special:CommunityConfiguration
- edit/publish attempts by users without editing rights
- invalid values for the fields, including empty values
-- https://phabricator.wikimedia.org/T363474#9765635
-- filed {T364056}
- offline users (including users logged out) ✅ **DONE**
✅ **DONE ** (4) refer to T360277 for more details
- check the search for Special page (and a subpage) - i.e. check for `SpecialCommunityConfigurationEditor`, `SpecialCommunityConfigurationDashboard`
- enter Special page title in the url
- `Special:CommuityConfigurationDashboard` and other invalid pages - are not listed in the search suggestions and `No such special page` is displayed
- `Special:EditGrowthConfig` - redirects to `Special:CommuityConfiguration`
- check that Special:SpecialPages does not list `Special:EditGrowthConfig`page; `Special:CommunityConfiguration` should be present there.
✅ **DONE** (5) T362042
- changes in schema that cannot be handled by UI form, e.g. required properties status is changed, added/removed properties.
- `extension.json` or configuration store becomes unavailable
|What was checked|How it was checked| Results
|---|---|---
|**CommunityConfiguration extension is not present/unreachable**| `mv CommunityConfiguration CommunityConfiguration_new`| `MediaWiki is unable to load the extension CommunityConfiguration. Please check that the extension's name is correct and all of its files are properly installed.` {F53234986}
|**CommunityConfiguration extension is not installed**| `wfLoadExtension( 'CommunityConfiguration' ` is commented out| No such special page for Special:CommunityConfiguration {F53235356}
||| **Special:SpecialPages** produces an error page: [4d304c1441ff380b0c39ca60] /wiki/Special:SpecialPages Wikimedia\Services\NoSuchServiceException: No such service: CommunityConfiguration.WikiPageConfigReader
|**Adding properties to json pages when CommunityConfiguration extension is disabled**| an additional property was added to `MediaWiki:ExampleConfig.json`| When CommunityConfiguration extension gets enabled again, no errors on `MediaWiki:ExampleConfig.json` or Special:CommunityConfiguration
--------------
!![Check after deployment to production]!!
{T358659}
✅ **DONE** {T359928} - checked in `testwiki wmf.9`