Story 1.4.3.2. CRM. Profile Edit Mode – Add job position modal

Content

General info

This user story describes the process of adding a professional position in the CRM profile using the "Add Position" modal. The user should be able to fill in all relevant fields and attach related documents. All fields should be validated to ensure correct and complete data entry.

User story

As a CRM user,
I want to be able to add position details such as job title, company, dates, tasks, and relevant documents,
So that the CRM profile accurately reflects the candidate’s professional experience.

Visual design:

https://www.figma.com/design/I5CXH7H3ICD0vfA1kPbcVf/Rocken-Design?node-id=62378-58547&t=uY2xP4dMRl179HBq-4

Acceptance criteria

01

Scenario: The user can enter the job position.
Given the user is in the ‘Add Position’ modal,
When the user enters name of the job position (mandatory)
AND clicks ‘Save’,
Then the position should be saved in the profile

image-20250307-150158.png

02

Scenario: The user can select the company name.
Given the user is in the ‘Add Position’ modal,
When the user enters the company name
AND select suggestion
AND clicks ‘Save’,
Then the company name should be saved in the profile

03

Scenario: The user can enter the position’s location.
Given the user is in the ‘Add Position’ modal,
When the user enters the job location
AND select suggestion
AND clicks ‘Save’,
Then the location should be saved in the profile.

04

Scenario: The user can enter the start and finish dates.
Given the user is in the ‘Add Position’ modal,
When the user enters valid start and finish dates and clicks ‘Save’,
Then the start and finish dates should be saved in the profile.

Validation: The start date must be before the finish date

05

Scenario: The user can indicate if they are currently working in the position.
Given the user is in the ‘Add Position’ modal,
When the user checks the ‘I am currently working in this position’ checkbox,
Then the ‘Finish’ date should be left empty, and the profile should reflect this status.

06

Scenario: The user can enter daily tasks for the position.
Given the user is in the ‘Add Position’ modal,
When the user enters the daily tasks
AND clicks ‘Save’,
Then the tasks should be saved in the profile.

07

Scenario: The user can attach files to the position entry.
Given the user is in the ‘Add Position’ modal,
When the user clicks the ‘Attach Files’ button,
Then the "Attach Files" modal should appear, allowing the user to drag and drop or click to upload a file. The user can select files with extensions .doc, .docx, .pdf, .jpeg, .jpg, .png, and the file size should not exceed 7 MB.
Validation: The file type must be one of the allowed types, and the file size must not exceed 7 MB. The user can then click ‘Save’ to upload the file, or ‘Cancel’ to exit the modal.

Validation message about file type:

EN: The attachment must be a file of type: .doc, .docx, .pdf, .jpeg, .jpg, .png

DE: Der Anhang muss eine Datei folgenden Typs sein: .doc, .docx, .pdf, .jpeg, .jpg, .png

Validation message about file size:

EN: File size limit 7 MB

DE: Dateigrößenbegrenzung 7 MB

image-20250310-062915.pngimage-20250310-061942.pngimage-20250310-062256.pngimage-20250310-062446.pngimage-20250310-062614.png

08

Scenario: The user can delete file from attachments
Given the user is in the ‘Add Position’ modal,
When the user clicks delete icon,
Then the file is deleted

image-20250310-062920.png

09

Scenario: The user can click ‘Save’ to save the position entry.
Given the user has entered valid information in all required fields,
When the user clicks the ‘Save’ button,
Then the new position entry should be saved in the profile, and the modal should close.

Validation: The ‘Save’ button should only be enabled once any changes added

10

Scenario: The user can click ‘Cancel’ to close the modal without saving.
Given the user has opened the ‘Add Position’ modal,
When the user clicks the ‘Cancel’ button,
Then the modal should close without saving any entered data.

Comments

Leave a Reply