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

Admin\e2e - workflow\bceidbusiness\industry_user #2271

Open
8 tasks
shon-button opened this issue Sep 23, 2024 · 0 comments
Open
8 tasks

Admin\e2e - workflow\bceidbusiness\industry_user #2271

shon-button opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@shon-button
Copy link
Contributor

shon-button commented Sep 23, 2024

Description:

Tests workflow of \bceidbusiness\industry_user within the Administration app

Select Operator

  • is able to search for their operator by operator legal name (fuzzy search)
  • is able to search using CRA business number (exact matches only), or has the option of adding a new operator
  • is able to select an operator from the search results and sees operator preview, with option to go back to the search screen
  • is able to select an operator from the search results and sees operator preview, with option to confirm "Yes this is my operator"
  • once they've selected their operator from the search and confirmed "Yes this is my operator", there's 2 scenarios:
    - [ ] no other user has requested admin access for the operator, in which case industry_user should be prompted whether they want to request to be admin
    - [ ] some other user has already requested admin access for the same operator, in which case the industry_user can request access to the Operator, but they won't automatically be the admin for the operator

Create Operator

  • is able to create a new operator from the Select Operator page, and populate all form fields, with different scenarios:

  • is able to view a (selected/created) operator from the My Operator page

  • is able to edit operator from the My Operator page

Once industry_user has status = 'Approved'; role =admin in user_operator table; see workflow industry_user_admin

@shon-button shon-button self-assigned this Sep 25, 2024
@shon-button shon-button changed the title e2e test\workflow\bceidbusiness\industry_user Admin\e2e - workflow\bceidbusiness\industry_user Oct 1, 2024
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