Closed elraphty closed 5 months ago
@aliraza556 comment on this
assign
Hi @elraphty can you please assign me next https://github.com/stakwork/sphinx-tribes-frontend/issues/462#issuecomment-2018008980
Hi @elraphty, Please assign me
Could you please assign me the next one?
Hi @elraphty can you please assign me next #462 (comment)
@MirzaHanan I will assign the next one
Context
Currently, we have a cypress command to create an organization
but we want to assert that when we assign a
Withdraw From Organization
role to a user, the user can withdraw from the organization.We want to Sign in as Alice, create an organization, add Carol to the organization, give Carol a
Withdraw From Organization
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 Organization'sManage
button, in the OrganizationDetails assert that theWithdraw
button is not disabled, then click on theWithdraw
button, and assert that the withdraw modal pops up.File to create
sphinx-tribes-frontend/cypress/e2e/42_rolesWithdrawOrganization.cy.ts
there will be no modifications to
sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Withdraw From Organization
roleWithdraw
button is not disabledWithdraw
buttonThe Withdraw flow is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts