STD: User Interface (UI)
Version: v1.0.0 Status: Draft SRS Source:
docusaurus/docs/srs/ui.mdDomain: UI
Overview
This document specifies tests for the User Interface domain, which covers cross-cutting usability requirements for display optimization and responsiveness across all system screens.
Domain Characteristics:
- Primary function: Non-Functional Requirement (NFR) for visual presentation
- Secondary function: Cross-cutting concern applied to all screens
- Implementation: Frontend CSS/responsive design (no backend logic)
Test Method Rationale:
Per Test Plan §3.2, "UI rendering, layout, visual affordances" uses TM-MAN as preferred method since human judgment is required for visual verification. Display optimization is inherently subjective - determining whether content is "readable" and "appropriately sized" requires human assessment. TM-UI automation can verify absence of horizontal scrollbars but cannot assess overall readability quality.
Test Case Convention:
Steps describe logical actions, not UI mechanics. Use "Navigate to [screen name]" or "Observe display on laptop", not specific CSS selectors or viewport pixel dimensions. This ensures test intent survives UI redesigns.
Coverage Summary
| REQ ID | Title | ACs | Tests | AC Coverage | Method | Gaps |
|---|---|---|---|---|---|---|
| REQ-UI-001 | Display Optimization | 3 | TC-UI-001, TC-UI-002, TC-UI-003 | 3/3 (100%) | TM-MAN | None |
Totals: 1 REQ, 3 ACs, 3 Test Cases, 100% Coverage
Test Cases
TC-UI-001: Verify readability without horizontal scrolling on laptop
Verifies: REQ-UI-001 (AC1)
Method: TM-MAN
Priority: High
Preconditions:
- Standard laptop display (e.g., 1366x768, 1920x1080)
- Browser at default zoom (100%)
- User logged in with any valid role
Test Data:
- Representative sample of screens:
- Run Files page (list view)
- Run Page (detail view with wells table)
- Configuration pages (forms with multiple fields)
- Reports page (tabular data)
- User Management page (user list and forms)
Steps:
- Navigate to each screen in the representative sample
- Observe whether horizontal scrollbar appears
- Verify all content is visible without horizontal scrolling
- Verify content remains readable (text not truncated, tables not cut off)
Expected Results:
- AC1: No horizontal scrollbar present on standard laptop displays
- AC1: All content readable without horizontal scrolling
- AC1: All interactive elements accessible without horizontal scrolling
Automation Status: Manual
Jira: BT-2589
Notes: This test requires human judgment to assess readability. Automation can verify absence of horizontal scrollbar but cannot assess whether content layout is optimal.
TC-UI-002: Verify UI element sizing across display resolutions
Verifies: REQ-UI-001 (AC2)
Method: TM-MAN
Priority: High
Preconditions:
- Access to multiple display configurations:
- Standard laptop (1366x768)
- HD laptop (1920x1080)
- Desktop monitor (1920x1200 or higher)
- Browser at default zoom (100%)
Test Data:
- Same representative screen sample as TC-UI-001
- Focus on:
- Button sizes (clickable target area)
- Text legibility (font sizes)
- Form field dimensions
- Table column widths
Steps:
- On each display configuration, navigate to representative screens
- Assess button and control sizes for click/touch interaction
- Assess text readability (font size appropriate for distance)
- Assess form field dimensions (adequate for typical input)
- Assess table readability (column widths allow content visibility)
Expected Results:
- AC2: UI elements appropriately sized on standard laptop displays
- AC2: UI elements appropriately sized on HD laptop displays
- AC2: UI elements appropriately sized on desktop monitor displays
- AC2: No elements too small for comfortable interaction
- AC2: No elements excessively large causing layout inefficiency
Automation Status: Manual
Jira: BT-2589
Notes: "Appropriately sized" is inherently subjective and requires human judgment. Tester should assess based on typical user expectations for enterprise web applications.
TC-UI-003: Verify conformance to NFR usability standards
Verifies: REQ-UI-001 (AC3)
Method: TM-MAN
Priority: Medium
Preconditions:
- Reference to global NFR usability and responsiveness standards (if documented separately)
- Access to system on standard laptop display
Test Data:
- Representative screen sample covering all major system areas
- NFR checklist items:
- Responsive behavior on viewport resize
- Consistent layout patterns across screens
- Standard loading indicators for async operations
- Appropriate feedback for user actions
Steps:
- Review documented NFR usability standards (if available)
- Navigate through representative screens
- Resize browser viewport to test responsive behavior
- Verify consistent responsive patterns across screens
- Verify usability conventions are followed consistently
Expected Results:
- AC3: System demonstrates responsive behavior on viewport changes
- AC3: Layout adapts appropriately to different viewport sizes
- AC3: Usability patterns consistent across all screens
- AC3: No screen exhibits degraded usability compared to others
Automation Status: Manual
Jira: BT-2589
Notes: This test verifies cross-cutting consistency. If specific NFR usability standards document exists, verify compliance against that checklist.
Gap Analysis
No gaps identified. All 3 acceptance criteria have test coverage.
Coverage by AC Type
| AC Category | Count | Covered | Notes |
|---|---|---|---|
| Display/Rendering | 2 | 2 | Verified via TM-MAN (visual assessment) |
| Standards Compliance | 1 | 1 | Verified via TM-MAN (consistency check) |
Method Selection Rationale
All tests use TM-MAN because:
- Display optimization is a visual/NFR requirement requiring human judgment
- "Readable" and "appropriately sized" are subjective assessments
- Per Test Plan §3.2: "UI rendering, layout, visual affordances" prefers TM-MAN
- Automation can detect presence/absence of scrollbars but cannot assess overall visual quality
Traceability to Existing Tests
| Test Case | Jira Test | Automation |
|---|---|---|
| TC-UI-001, TC-UI-002, TC-UI-003 | BT-2589 | Manual |
Notes
- This is a cross-cutting NFR domain with a single requirement affecting all system screens
- Tests should be executed as part of regression testing when UI changes are deployed
- The 80% zoom recommendation in SRS UI Notes is guidance, not a testable requirement
- Future consideration: automated visual regression testing tools could supplement manual testing