Skip to content

test: cover bounty modal actions - #1621

Open
0xjc65eth wants to merge 1 commit into
stakwork:masterfrom
0xjc65eth:bounty-modal-component-coverage-871
Open

test: cover bounty modal actions#1621
0xjc65eth wants to merge 1 commit into
stakwork:masterfrom
0xjc65eth:bounty-modal-component-coverage-871

Conversation

@0xjc65eth

Copy link
Copy Markdown

Closes stakwork/sphinx-tribes#871.

Summary:

  • Add component coverage that clicks the bounty modal action buttons for GitHub ticket, tribe, copy link, and Share to Twitter.
  • Add modal persistence coverage for the signed-in hunter I can help flow, asserting the bounty modal remains visible after the handoff callback fires.
  • Keep the change scoped to TicketModalPage.spec.tsx; no production UI behavior changed.

Validation:

  • REACT_APP_IS_TEST=true NODE_ENV=test node node_modules/jest/bin/jest.js --runTestsByPath src/pages/tickets/__tests__/TicketModalPage.spec.tsx --runInBand --no-coverage --silent --transformIgnorePatterns "./svg/" -> 27 passed
  • git diff --check
  • pre-commit yarn lint -> 0 errors, existing warnings only

Note: this intentionally covers checklist items not fully exercised by the currently open competing PR, while leaving the app behavior unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement component tests for bounties modal

1 participant