Skip to content

[BUG] Category description not displayed on regression page when no tags are available #1060

@Hell1213

Description

@Hell1213

In raising this issue, I confirm the following:

  • I have read and understood the contributors guide.
  • I have checked that the bug-fix I am reporting can be replicated.
  • I have checked that the issue I'm posting isn't already reported.
  • I have checked that the issue I'm posting isn't already solved and no duplicates exist in closed issues and in opened issues.
  • I have checked the pull requests tab for existing solutions/implementations to my issue.

My familiarity with the project is as follows:

  • I have used the platform extensively, but have not contributed previously.

Problem

On /regression/, when selecting a category that has no associated tags, the category description is not displayed. The description field is present in the template but remains hidden.

Steps to Reproduce

  1. Navigate to /regression/
  2. Select a category that has no tags associated with it
  3. Observe that the category description is not shown

Expected Behavior

The category description should be displayed when a category is selected, regardless of whether tags are available or not.

Actual Behavior

The category description remains hidden when no tags are available for the selected category.

Root Cause

The JavaScript function searchRegressionTests() is responsible for showing/hiding category descriptions, but it's only called when tags change or category changes, not on initial page load when no tags are selected.

Environment

  • Browser: All browsers
  • Platform: CCExtractor Sample Platform
  • Page: /regression/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions