Skip to content

Add a README troubleshooting section keyed to preflight failures #19

Description

@perdrizat

New contributors hitting a failing pnpm test:uat:preflight (or the equivalent E2E setup checks) currently have to dig through TESTING.md's "Environment Setup" prose to figure out what a given failure message means. There's no quick-reference troubleshooting section in README.md.

Task

Add a "Troubleshooting" section to README.md (or a linked doc) that maps each preflight failure message to its likely cause and fix, covering at minimum:

  • Firefox version below 152 detected (or no Firefox binary found).
  • claude CLI not authenticated (claude /login needed).
  • Built .xpi/extension zip missing (pnpm build not run).
  • Fixture hash mismatch (tests/uat/newtabtools_knowngood.zip stale or modified).
  • UAT daemon port already in use / stale process.
  • geckodriver missing or wrong version.

Notes

  • Source the exact failure message strings from tests/uat/_tools/ (preflight script) and tests/e2e/run_esr_tests.sh so the troubleshooting entries are greppable — a user pasting the literal error should find the matching section.
  • Cross-link from TESTING.md's "Environment Setup" section rather than duplicating the install instructions.

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