fix(wiki): restore GHC-05 image lightbox
Document the shared Wikipedia-style mission page format and the required Wiki.js script extraction workflow. Co-Authored-By: OpenAI Codex <codex@openai.com>
This commit is contained in:
@@ -47,5 +47,15 @@ class WikiTopologyProxyTests(unittest.TestCase):
|
||||
self.assertIn("舱段外围没有环形加压走道", html)
|
||||
|
||||
|
||||
def test_ghc05_preserves_the_shared_image_lightbox(self):
|
||||
html = GHC05_PATH.read_text(encoding="utf-8")
|
||||
|
||||
self.assertIn(".wiki-image-lightbox", html)
|
||||
self.assertIn("img[data-wiki-asset]", html)
|
||||
self.assertIn("dataset.lightboxBound", html)
|
||||
self.assertIn("wiki-image-lightbox-open", html)
|
||||
self.assertIn("event.key === 'Escape'", html)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user