⚠ ネタバレ注意: 本サイトはSFアニメ「SOLAR LINE」の内容を詳細に分析しています。未視聴の方はご注意ください。
📝 AI生成コンテンツ: 本考証の大部分は AI(Claude Code 等)によって生成されています。内容の正確性については原作および引用元をご確認ください。

Task 188: Fix Orbital Animation Example Page and Harden E2E Tests

完了 ← タスク一覧

Task 188: Fix Orbital Animation Example Page and Harden E2E Tests

Status: DONE

Goal

The standalone orbital animation example page (ts/examples/orbital-animation.html) has a stale selector. The page uses <text data-animation-config> to embed animation data, but orbital-animation.js looks for .orbital-animation-data (a class-based selector on a <script> element). This means the example page's animation is non-functional — the JS silently returns when it can't find the data element.

Additionally, the existing E2E test for this example page (ts/e2e/examples.spec.ts) only checks that the SVG renders and data-animated="true" is present, but does NOT verify that the ship marker actually moves.

Tasks

  1. Fix the animation data element in orbital-animation.html to use the correct selector pattern (.orbital-animation-data class on a <script type="application/json"> element)
  2. Add/update E2E test in examples.spec.ts to verify that animation actually plays (ship marker position changes after play)
  3. Verify all tests pass

Context