Closed BCerki closed 1 month ago
Tagging @zoeyli-46 so we can discuss this ticket. Should a wireframe be created for this? I can help refine this ticket once we have that, if that's helpful.
@patriciarussellCAS done, I linked to the wireframe and removed the wireframe needed label!
@patriciarussellCAS
As bc-cas-dev
, verify snackbar displays after creating the following documents:
https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/administration/contacts/add-contact https://cas-bciers-frontend-dev.apps.silver.devops.gov.bc.ca/administration/operations/002d5a9e-32a6-4191-938c-2c02bfec592d/facilities/add-facility?operations_title=Operation%202
Dependencies
Description:
When a user adds an contact, they see a confirmation message (snackbar): When a user adds a facility, they see a confirmation message (snackbar): When a user adds an operator, they see a confirmation message (snackbar):
Acceptance Criteria:
Given I am on the add contact page When I have filled out the form fields and clicked submit Then I am shown a SnackBar
Given I am on the add facility page When I have filled out the form fields and clicked submit Then I am shown a SnackBar ~Then I am brought back to the Facilities page~
Given I am on the add operator page When I have filled out the form fields and clicked submit Then I am shown a SnackBar
Development Checklist:
bciers/libs/components/src/form/SingleStepTaskListForm.tsx
modify theonSubmit
tosetIsSnackbarOpen(true);
for all submitsbciers/libs/components/src/form/SingleStepTaskListForm.tsx
modify Snackbar optionmessage=
to "All changes have been successfully saved""ContactForm.test.tsx
FacilityForm.test.tsx
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: