stakwork / sphinx-tribes-frontend

Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
12 stars 42 forks source link

[Tests][Component] Add Test to src/pages/tickets/org/OrgTickets.tsx #366

Closed Vayras closed 6 months ago

Vayras commented 6 months ago

Context

Wanted.tsx renders user created bounties, we are increasing coverage for that with this ticket

File to to test

src/pages/people/tabs/Wanted.tsx

File to create

src/pages/people/tabs/Wanted.spec.tsx

Acceptance Criteria

References

jordan-ae commented 6 months ago

I can help with this

Fog3211 commented 6 months ago

assign

ecurrencyhodler commented 6 months ago

@okhot it's yours

elraphty commented 6 months ago

@AbdulWahab3181 you can take this

AbdulWahab3181 commented 6 months ago

@elraphty Ok, please assign me

elraphty commented 6 months ago

@Vayras what is this issue supposed to test OrgTicketsPage or Wanted.tsx? this section Test that post a bounty button, auto populates newer bounties on org bounty page and bounties section on profile is confusing.

Vayras commented 6 months ago

@elraphty yeah I think we need to cover the Test that post a bounty button, auto populates newer bounties on org bounty page and bounties section on profile in OrgTicketsPage , might have been an oversight on my end, Thanks of checking this one

elraphty commented 6 months ago

@elraphty yeah I think we need to cover the Test that post a bounty button, auto populates newer bounties on org bounty page and bounties section on profile in OrgTicketsPage , might have been an oversight on my end, Thanks of checking this one

That will be difficult to achieve with a component tests, these are 2 entirely different components