-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
// 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); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep yep good catch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
This PR adds the test suite dropdown to the Test Analytics page. Notes - - Adds the `TestSuiteDropdown` component - Adds that component to the tests page
This PR adds the test suite dropdown to the Test Analytics page.
Notes
TestSuiteDropdown
component