# Defect Report — qaagent-functional-pm-qa

Only failed test cases are listed as defects.

## DEF-001 — Invalid login error opens an unbranded plain page

Severity: Medium
Category: UX
Requirement: REQ-002
Test Case: TC-002
Environment: QA web app at https://qa.winds-os.com
Evidence: screenshots/TC-002-fail-invalid-login-error-page.png

### Description
A wrong password correctly protects the dashboard, but the error experience leaves the branded app and shows a plain white browser page. This feels unfinished for a non-technical user reviewing product quality.

### Steps to Reproduce
1. Open login page.
2. Enter an incorrect password.
3. Select Login.

### Expected
User remains in a branded login experience with a friendly error and clear retry guidance.

### Actual
Plain white page with “Invalid password. Try again”.

### Recommendation
Show the invalid-password message inline on the login card, keep the QA Agent branding, and provide clear retry/help copy.

## DEF-002 — Required requirement document is not clearly marked before submission

Severity: Medium
Category: UX
Requirement: REQ-005
Test Case: TC-005
Environment: QA web app at https://qa.winds-os.com
Evidence: screenshots/TC-006-pass-create-form-ready.png

### Description
The form requires a requirement document, but the label does not say Required and there is no helper text explaining what file to upload. Users only discover it after a browser validation message.

### Steps to Reproduce
1. Log in.
2. Review the New test run form without submitting.
3. Look for required/optional indicators and helper copy.

### Expected
Mandatory fields, especially Requirement doc, are visibly marked and supported by simple helper text.

### Actual
Target URL uses required browser behavior, but Requirement doc is not visibly marked as required and has no guidance.

### Recommendation
Add “Required” text or an asterisk to mandatory fields and helper text such as “Upload a Markdown, PDF, or document containing acceptance requirements.”

## DEF-003 — Mobile login card is clipped horizontally

Severity: High
Category: Visual / Responsive
Requirement: REQ-011
Test Case: TC-011
Environment: QA web app at https://qa.winds-os.com
Evidence: screenshots/TC-010-pass-mobile-login-responsive.png

### Description
At a common mobile viewport width, the login card extends beyond the right edge of the screen. Controls remain partially usable, but the clipped layout makes the product feel unpolished and can hide content on small devices.

### Steps to Reproduce
1. Open https://qa.winds-os.com/login at 390x844 viewport.
2. Observe the login card, input, and button.

### Expected
The login card fits fully within the mobile viewport with comfortable margins and no horizontal clipping.

### Actual
Right side of card/input/button is cut off by the viewport edge.

### Recommendation
Update responsive CSS so the card uses max-width: calc(100vw - safe margins), box-sizing: border-box, and no fixed width that exceeds mobile viewport.
