gak112 / gak112/DearJobTesting

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

Open
#643 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 "First Name" field.
5. Attempt to enter a first name with multiple consecutive spaces (e.g., "John Doe") and submit the form.

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

**Expected Result:**
The "First Name" field should not accept multiple consecutive spaces, and it should not allow a first name that starts with a space. Proper validation should be in place to ensure that the user enters a valid first 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 test case helps highlight the issue with the "First Name" field's behavior on the website during the registration process.

![image](https://github.com/gak112/DearJobTesting/assets/101229315/1353812d-7eff-4679-afcc-e2781d90eb0f)

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.