bcgov / cas-registration

A web app for Registration in OBPS under the Clean Growth branch
Apache License 2.0
1 stars 1 forks source link

Admin\Operator - External user can add an operator #1960

Closed BCerki closed 1 month ago

BCerki commented 3 months ago

Dependencies

Description:

The operator form has changed since reg part 1, so we can't just copy/paste the reg 1 files over.

Acceptance Criteria:

Given I am an external user When I add a new operator during the select operator workflow Then I see the latest operator form Figma

Given I am an external user When I click submit Then I see the confirmation message/page

Development Checklist:

API: Create Ninja Schema

API: Create Service

API: Create Endpoint

API: Add Tests

FE

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

shon-button commented 1 month ago

As bc-cas-dev-secondary, reachable at: https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/administration/select-operator https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/administration/select-operator/add-operator

patriciarussellCAS commented 1 month ago

Thanks @shon-button I assume I need to recreate this using a different user than bc-cas-dev? This is what I get on the add operator page:

Image

shon-button commented 1 month ago

Thanks @shon-button I assume I need to recreate this using a different user than bc-cas-dev? This is what I get on the add operator page:

Image

@patriciarussellCAS Apologies for the lack of specific reproduction steps, I have updated the "Reachable at" comment to reflect the id to use: bc-cas-dev-secondary

patriciarussellCAS commented 1 month ago

Review notes: @shon-button & @zoeyli-46

  1. Using bc-cas-dev-secondary, when I click on Add Operator, I get this form (see screenshot), which does not include partner information like it shows on the figma wireframe. Is this correct or am I still seeing an old form?
  2. After filling out the form and clicking "Submit" I see a snackbar "all changes were successful", not a confirmation page. Is this correct?
  3. Should the user be taken back to the admin dashboard after they click submit? Or just stay on this page until they click "cancel" or use breadcrumbs?

add operator

zoeyli-46 commented 1 month ago

@patriciarussellCAS for point 1, did you select business structure "general partnership"? because the partnership fields only show up if the business structure is general partnership.

After they click submit, it should have the snackbar instead of a confirmation page, but it should take them to the BCIERS dashboard where the "select operator" is now replaced with "operator - action required" This is in the prototype, and to be implemented in ticket #2048 which is coming next sprint! https://github.com/orgs/bcgov/projects/123/views/16?filterQuery=tiles&pane=issue&itemId=80445747

patriciarussellCAS commented 1 month ago

Thanks @zoeyli-46 That makes sense re: general partnership.

So the only thing that didn't work for me is that I was NOT sent back to the BCIERS dashboard. @shon-button is that something that's being addressed in a separate ticket or should that be part of this work?

zoeyli-46 commented 1 month ago

RE: redirect to BCIERS dashboard, I have it as an AC in ticket #2048 https://github.com/orgs/bcgov/projects/123/views/16?filterQuery=tiles&pane=issue&itemId=80445747