Skip to content

[codex] Add profile bounty URL regression tests#1601

Open
cybercraftsolutionsllc wants to merge 1 commit into
stakwork:masterfrom
cybercraftsolutionsllc:codex/profile-bounty-new-url-tests-979
Open

[codex] Add profile bounty URL regression tests#1601
cybercraftsolutionsllc wants to merge 1 commit into
stakwork:masterfrom
cybercraftsolutionsllc:codex/profile-bounty-new-url-tests-979

Conversation

@cybercraftsolutionsllc
Copy link
Copy Markdown

Summary

  • update the created-bounties profile test to expect the new /bounty/:id URL instead of the deprecated /p/:uuid/wanted/:id/:index URL
  • assert the created bounty card opens /bounty/:id in a new tab
  • add assigned-bounties profile coverage proving assigned bounty cards also link to /bounty/:id

Validation

  • REACT_APP_IS_TEST=true NODE_ENV=test node node_modules/jest/bin/jest.js --runTestsByPath src/pages/people/tabs/tests/Wanted.spec.tsx src/people/widgetViews/tests/UserTicketsView.spec.tsx --runInBand --no-coverage --silent --transformIgnorePatterns "./svg/"
  • git diff --check

Refs stakwork/sphinx-tribes#979

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.

2 participants