Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 7, 2025

Tags assigned to test cases were not visible when executing test runs, despite being stored correctly in the database.

Changes

Frontend

  • Added Tags column to test case selector table, displaying tags as chips
  • Added tags section to test case detail modal
  • Added tags translation key to all language files (en, ja, pt-BR)

Backend

  • Modified /runs/download/:runId to include Tags association when fetching run cases
  • Added tags to CSV export as comma-separated values
  • JSON export automatically includes tags via nested model structure

Tests

  • Updated download route tests to mock Tags model and verify tag inclusion in CSV exports

Example

Test cases with tags now display in the run execution view:

case 'tags':
  return (
    <div className={`flex gap-1 flex-wrap ${isIncluded ? '' : notIncludedCaseClass}`}>
      {testCase.Tags && testCase.Tags.length > 0 ? (
        testCase.Tags.map((tag) => (
          <Chip key={tag.id} size="sm" variant="flat">
            {tag.name}
          </Chip>
        ))
      ) : (
        <span>-</span>
      )}
    </div>
  );

CSV exports now include a tags column with comma-separated tag names.

Original prompt

This section details on the original issue you should resolve

<issue_title>Added tags cannot be seem in test run</issue_title>
<issue_description>Add labels to the test cases, and then add these test cases to the test run.
However, when executing the test run, we were unable to find these added labels.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix visibility of added tags in test run Display tags in test run execution view and exports Dec 7, 2025
Copilot AI requested a review from kimatata December 7, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Added tags cannot be seem in test run

2 participants