Skip to content

badge-share.test.mjs seeds an incomplete Money Basics tree #100

Description

@Nitjsefnie

Description

On main at ce03c6ffbcbe8e4f9355c8ca83479cb8311e0fd8, the existing e2e job reaches badge-share.test.mjs, fails the badge celebration/share assertions, and then times out at frontend/e2e/badge-share.test.mjs:96. The fixture seeds Money Basics missions 0, 1, 77, 78, 2, 5, and 9; the current Money Basics tree also includes missions 106, 108, and 110.

Exact-main control run: https://github.com/Nitjsefnie-OSC/bitpilot/actions/runs/32876468981

Expected Behavior

The badge-sharing fixture should satisfy the current Money Basics prerequisite tree so completing mission 10 awards the badge and the celebration/share assertions pass.

Reproduction Steps

  1. Check out ce03c6ffbcbe8e4f9355c8ca83479cb8311e0fd8.
  2. Run the repository's e2e CI job, which starts the backend and frontend before invoking npm run test:e2e.
  3. Observe the badge celebration failure followed by the timeout in frontend/e2e/badge-share.test.mjs.

Discovered During

Reviewing the base-branch CI failures surfaced by #99.

Suggested Fix

Unverified: update the fixture's completed-mission seed from the former Money Basics prerequisite set to the current tree, or derive that seed from the mission catalogue so newly added prerequisites cannot silently stale the test. If this direction fits, I can send a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions