bcgov / bcgov/sdd-database

Create New EE - IDIR Field

Open
#142 2 comments 0 reactions 1 assignee Claimed by @darshanpandhi View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

ISSUE:
1. IDIR can be entered in a mix of capitals and lower case letters. Can this be defaulted to all capitals as that is how data is currently recorded in the DB.
2. Can we set the character minimum to 3? The maximum is set to 8 characters, but the application will currently let you create an IDIR with only 1 character.
3. Lets you complete the field using only numbers. Can constraints be placed so at least one alpha is required as a user could potentially enter the Employee ID (which is only numbers) in this field by mistake. Once the record is created, they wouldn't be able to delete it and would have to create a new one.

Image

TEST SCRIPT:
1. Home (click logo at top) >> Select ""ADD NEW EMPLOYEE""
2. Enter first name >> TAB >> Enter last name >> TAB >> Employee ID >> Enter IDIR with lower case/upper case mixed >> TAB >> TESTS
- Field is mandatory
- Can use capitals, lower case mixed, numbers
- Cannot use hypens or special characters
- Can use ONLY numbers
- Limits to 8 characters only
- No minimum character length, can enter only 1 letter or number. Should be 3.
- Cannot use same IDIR, gives error and cancels record creation >> select Add New Employee again and goes back to record
3. Enter Alternate Name (optional) >> TAB
4. Expand Office Details >> Select Dropdown arrow >> Select ASSIGN OFFICE >> Find applicable office >> 200 >> Select ASSIGN
5. CREATE - Window will close

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.