Skip to content

Unit tests for QML Feature-specific components #362

Closed

Description

@suraj-yadav0

Part of #356

Add unit tests in tests/qml/ for active feature components:

Tasks (qml/features/tasks/components/):

  • TaskNameField.qml (name input validation)
  • PersonalStageSelector.qml (personal stage changes)
  • TaskStageSelector.qml (stage signals)
  • TaskRecordActionsGrid.qml (action buttons)
  • TaskDetailsCard.qml (task card info)
  • MyTasksClosedIndicator.qml (closed status badge)
  • TaskScheduleFields.qml (schedule dates and duration)
  • TaskPrioritySelector.qml (priority dropdown)
  • TaskList.qml (task list rendering)

Timesheets (qml/features/timesheets/components/):

  • TimeRecorderWidget.qml (start, stop, pause actions)
  • TimeSheetDetailsCard.qml (entry summary display)
  • TimeSheetDescriptionPopup.qml (description edit popup)

Dashboard (qml/features/dashboard/components/ and charts/):

  • TaskRow.qml (row presentation)
  • ChartInfoPopup.qml (chart popup data)
  • TaskChartCanvas.qml (canvas drawing logic)
  • ProjectCard.qml (project card display)
  • TaskTimeChart.qml (time chart model updates)

Settings (qml/features/settings/components/):

  • SettingsHeader.qml (header text and back action)
  • SettingsListItem.qml (settings item click)
  • SettingsPageLayout.qml (settings layout container)

Note: TaskStagesDisplayGrid, TimeSheetGrid, and SettingsToggleItem are unused and scheduled for removal in #367.

Activity

  1. added a commit that references this issue on Oct 22, 2026
  2. suraj-yadav0 commented on Oct 26, 2026

    @suraj-yadav0
    CollaboratorAuthor

    Resolved in PR #383.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions