Story 1.2.2.3. CRM. Vacancy view mode. Change status

Content

General info

In the vacancy view mode, users should have the ability to manually change the status of a vacancy. The status options include new, active, on hold, inactive, and rocked. When changing the status, a modal will open, allowing the user to add a note explaining the reason for the status change.

User story

As a CRM user,
I want to change the status of a vacancy manually
So that I can keep track of the vacancy’s current state and provide context for the change.

Visual design:

https://www.figma.com/design/I5CXH7H3ICD0vfA1kPbcVf/ROCKEN-jobs-%2F-talent?node-id=18089-70664&t=yGvUK88ZTkVXXo2x-4

Acceptance criteria

01

Scenario: Display Status Change Button
Given the user is in the vacancy view mode
When the page loads
Then the "Change Status" button image-20240902-174524.png should be visible next to the current status of the vacancy.

02

Scenario: Open Status Change Modal
Given the user clicks the "Change Status" button
When the button is clicked
Then a modal should open with a buttons to select the new status and a text area to add a note.

image-20240902-174614.png

03

Scenario: Change Status Options
Given the user has opened the status change modal
When the modal with status buttons is viewed
Then the user should see the following status options: New, Active, On Hold, Inactive, Rocked.

04

Scenario: Add Note for Status Change
Given the user is in the status change modal
When the user selects a new status
Then the user should be able to add a note explaining the reason for the status change.

05

Scenario: Save Status Change
Given the user has selected a new status and added a note
When the user clicks the "Add Note" button
Then the system should save the new status and display it in the vacancy view.

06

Scenario: Detect Active Processes
Given I am viewing a vacancy with ongoing processes,
When any of the active processes are in the statuses: "Company Invitation", "Enquiry: Company", "Interview 1", "Interview 2", "Interview 3", "Offered", or "Trial Day",
Then I should not be allowed to change the status of the vacancy from "Active" to any other status.

07

Scenario: Block Status Change
Given I attempt to change the status of the vacancy from "Active",
When the vacancy has active processes in the restricted statuses,
Then the status change should be blocked, and the system should prevent the action.

08

Scenario: Display Blocking Message
Given I am attempting to change the status of the vacancy,
When the system blocks the status change,
Then I should see a message saying: “Status can’t be changed during the ongoing process.”
DE: „Der Status kann während des laufenden Prozesses nicht geändert werden.“

Comments

Leave a Reply