2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-04 17:32:34 +08:00
discourse/plugins
David Taylor 5ba28911ca
DEV: Only load specific plugin bundles during qunit test (#33678)
Previously, running qunit tests for a plugin would load the JS of all
installed plugins. This can be problematic because, depending on the
plugins installed in the current environment, there can be unexpected
interactions between the plugins.

This commit updates our qunit system to check the
`tests.requiredPlugins` list from the theme/plugin `about.json` file,
and only loads the listed plugins. This means that the environment is
much more consistent across CI and different development environments.

Alongside that change, this commit also:

- Starts storing the original `about.json` for themes in the database

- Improves qunit error handling when the test environment fails to boot
(e.g. there's a bad import in a plugin)

- Restores plugin CSS in theme qunit tests
2025-07-21 21:00:48 +01:00
..
automation Update translations (#33619) 2025-07-15 13:17:12 -04:00
chat DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
checklist UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-apple-auth DEV: Move discourse-apple-auth to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-assign DEV: Enhance discourse-assign data tracking for components (#33625) 2025-07-16 09:38:03 -03:00
discourse-calendar FIX: ensures event builder correctly sets the description (#33700) 2025-07-21 12:49:46 +10:00
discourse-chat-integration DEV: Move discourse-chat-integration to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-data-explorer DEV: Move discourse-data-explorer to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-details UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-gamification DEV: Move discourse-calendar to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-graphviz DEV: Move discourse-graphviz to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-hcaptcha DEV: Move discourse-hcaptcha to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-lazy-videos UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-local-dates UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-login-with-amazon DEV: Move discourse-login-with-amazon to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-lti DEV: Move discourse-lti to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-math DEV: Move discourse-math to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-microsoft-auth DEV: Move discourse-microsoft-auth to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-narrative-bot UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-oauth2-basic DEV: Move discourse-oauth2-basic to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-openid-connect DEV: Move discourse-openid-connect to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-patreon DEV: Move discourse-patreon to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-post-voting DEV: Move discourse-post-voting to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-presence UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
discourse-reactions Update translations (#33619) 2025-07-15 13:17:12 -04:00
discourse-rss-polling DEV: Move discourse-rss-polling to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-subscriptions DEV: Fix qunit error from discourse-upload-warning theme component (#33659) 2025-07-17 15:01:57 -06:00
discourse-user-notes DEV: Move discourse-user-notes to core (#33570) 2025-07-15 16:38:05 +02:00
discourse-zendesk-plugin DEV: Move discourse-zendesk-plugin to core (#33570) 2025-07-15 16:38:05 +02:00
footnote UX: rich editor footnotes position (#32566) 2025-05-05 09:12:09 -03:00
poll UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00
spoiler-alert DEV: Replace toolbar popup menu with DMenu (#33247) 2025-07-03 09:57:16 +10:00
styleguide UX: show all preinstalled plugins and label them as such (#33681) 2025-07-17 15:11:52 -04:00