gak112 / gak112/DearJobTesting

[WEB] [JS-Register-Basic Details] "Last Name" Field Allows Multiple Spaces and Leading Space

Open
#644 2 comments 0 reactions 2 assignees Claimed by @Abhinavgunda25 View on GitHub
bug Severity:Medium
Dominant language
No language data
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Steps:**
1. Open a web browser and go to the website: "https://dearjob.org".
2. On the website's homepage, locate and click on the "Register" link in the menu tab.
3. From the registration options, select "JobSeeker."
4. In the registration form, find the "Last Name" field.
5. Attempt to enter a last name with multiple consecutive spaces (e.g., "Smith Johnson") and submit the form.

**Actual Result:**
The registration form allows the entry of multiple consecutive spaces in the "Last Name" field, and it even accepts a last name that starts with a space (e.g., " Smith"). This behavior is inconsistent with the expected behavior for a "Last Name" field, which should not allow extra spaces or a leading space.

**Expected Result:**
The "Last Name" field should not accept multiple consecutive spaces, and it should not allow a last name that starts with a space. Proper validation should be in place to ensure that the user enters a valid last name without unnecessary spaces or leading spaces. Any attempts to enter such data should result in an error or warning message prompting the user to correct the input.

This modified test case highlights the issue with the "Last Name" field's behavior on the website during the registration process.

![image](https://github.com/gak112/DearJobTesting/assets/101229315/dc61c499-309a-49ba-96a6-e255db066eb3)

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.