Skip to content

feat: add test-suite dropdown #94838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 7, 2025
Merged

Conversation

adrianviquez
Copy link
Contributor

This PR adds the test suite dropdown to the Test Analytics page.

Notes

  • Adds the TestSuiteDropdown component
  • Adds that component to the tests page

@adrianviquez adrianviquez requested a review from a team as a code owner July 2, 2025 23:47
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 2, 2025
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

// Otherwise show only 1 test suite.
const totalLength =
(value[0]?.length ?? 0) + (value[1]?.length ?? 0) + (value[1] ? 2 : 0);
const suitesToShow = totalLength < 22 ? value.slice(0, 2) : value.slice(0, 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should we set 22 here and on line 76 to a const? Like MAX_SUITE_UI_LENGTH or smth

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep yep good catch

Copy link
Contributor

@ajay-sentry ajay-sentry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@adrianviquez adrianviquez merged commit 9bec3f9 into master Jul 7, 2025
47 checks passed
@adrianviquez adrianviquez deleted the adrian/add-test-suites-dropdown branch July 7, 2025 23:59
andrewshie-sentry pushed a commit that referenced this pull request Jul 14, 2025
This PR adds the test suite dropdown to the Test Analytics page.

Notes
-
- Adds the `TestSuiteDropdown` component
- Adds that component to the tests page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants