Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render "Blocked" Elements and Redirect to Chaincode page #732

Closed
5 tasks
shubhamsinghbundela opened this issue Nov 6, 2023 · 0 comments
Closed
5 tasks
Assignees

Comments

@shubhamsinghbundela
Copy link
Contributor

Render "Blocked" Elements and Redirect to Chaincode page

Overview:

When the model.profileStatus is set to "BLOCKED," the page should render specific elements to inform the user about the blocked status and provide a button for redirecting to Chaincode page Step-10.

User Stories:

  • As a user with a model.profileStatus of "BLOCKED," I should see an h3 tag on the page with the text "Blocked" to indicate the blocked status.
  • As a user with a model.profileStatus of "BLOCKED," I should see a p tag with the text "Your previous chaincode is blocked for some reason. Please generate a new chaincode." to provide information and guidance.
  • As a user with a model.profileStatus of "BLOCKED," I should see a button with the text "Next" that allows me to initiate a redirection to Chaincode page i.e. Step-10

Acceptance Criteria:

  • When the model.profileStatus is set to "BLOCKED," the page should automatically render an h3 tag with the text "Blocked" to provide a clear indication of the blocked status.
  • When the model.profileStatus is set to "BLOCKED," the page should automatically render a p tag with the text "Your previous chaincode is blocked for some reason. Please generate a new chaincode." to provide relevant information to the user.
  • When the model.profileStatus is set to "BLOCKED," the page should automatically render a button with the text "Next" that is easily visible and accessible to the user.
  • Clicking the "Next" button should initiate a redirection to chaincode page i.e. Step-10, ensuring that the user is directed to the appropriate next step.
  • The functionality of rendering these elements and the button's ability to redirect to Step-10 should be thoroughly tested to ensure it works as intended when model.profileStatus is "BLOCKED."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant