Assembled Story:
As an Admin/Trainer
I want an ability to delete (mark as inactive) the question
So that to increase usability
Acceptance Criteria:
AC-1:
GIVEN: Admin/Trainer navigates to the particular training
AND: at least one question available for the training
WHEN: the list of question for the particular training is shown
THEN: Delete option is available for the Question (see design provided: TBD)
AC-2:
GIVEN: Question created for the training
AND: Delete option available for the question
WHEN: Admin/Trainer selects the Delete option
THEN: Modal to confirm deletion is shown to the user
AND: user can CONFIRM the deletion
AND: user can CANCEL the deletion
NOTE: Design TBD
AC-3:
GIVEN: Modal to confirm deletion is shown to the user
WHEN: user proceeds with CONFIRM option
THEN: Training becomes inactive (non-clickable) on the Training page
AC-4:
GIVEN: Modal to confirm deletion is shown to the user
WHEN: user proceeds with CANCEL option
THEN: User is navigated back to the Training page
AND: Question remains available in the system
Assembled Story: As an Admin/Trainer I want an ability to delete (mark as inactive) the question So that to increase usability
Acceptance Criteria: AC-1: GIVEN: Admin/Trainer navigates to the particular training AND: at least one question available for the training WHEN: the list of question for the particular training is shown THEN: Delete option is available for the Question (see design provided: TBD)
AC-2: GIVEN: Question created for the training AND: Delete option available for the question WHEN: Admin/Trainer selects the Delete option THEN: Modal to confirm deletion is shown to the user AND: user can CONFIRM the deletion AND: user can CANCEL the deletion
NOTE: Design TBD
AC-3: GIVEN: Modal to confirm deletion is shown to the user WHEN: user proceeds with CONFIRM option THEN: Training becomes inactive (non-clickable) on the Training page
AC-4: GIVEN: Modal to confirm deletion is shown to the user WHEN: user proceeds with CANCEL option THEN: User is navigated back to the Training page AND: Question remains available in the system