mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 11:35:45 +08:00

This was accidentally selecting the close button on `<DModalLegacy />`, which is present in the DOM with `display: none`. The close button logic would close any active modal, so the test would pass. However, it will stop passing when we remove the legacy modal system.