Closed elraphty closed 3 months ago
@elraphty Could you please assign me?
Hi @elraphty can you please assign me next?
@elraphty can you assign this or the next one
Hi @elraphty can you please assign me next
@elraphty could you assign me next one
@elraphty please assign me
Hi @elraphty can you please assign me next?
@aliraza556 You get the next one
Context
Currently, we have a cypress command to create an organization
but we want to assert that when we assign a
Manage Bounties
role to a user, the user can create a bounty for an organization.We want to Sign in as Alice, create an organization, add Carol to the organization, give Carol a
Manage Bounties
role, then sign Alice out, Sign in as Carol, go to Carol's organization, and assert that the newly created organization is in Carol's list, click on the Bounties tab to create a bounty, assert that the organization is in the organization drop-down and create a bounty, and after the bounty is created click on the bounty tile, assert that the 'Pay Bounty' button is visibleFile to create
sphinx-tribes-frontend/cypress/e2e/44_rolesManageBounties.cy.ts
there will be no modifications to
sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Manage Bounties
rolePost Bounty
buttonPay Bounty
button is visibleThe Manage Bounties flow is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts