Skip to content

[Feature Request]: testIds for Pagination elements #9701

Closed

Description

Summary

Add testIds to the different elements in Pagination.

Bonus: Add refs support to the different elements in Pagination. Seeking a similar result to SideNavMenuItem where refs support in each link allows me to set new attributes like test ids and titles to each item:

<li className={className}>
  <Link {...rest} className={linkClassName} ref={ref}>
    <SideNavLinkText>{children}</SideNavLinkText>
  </Link>
</li>

Justification

This feature will allow our team to test several components in our UI and set more attributes than are included in the Component API.

Desired UX and success metrics

This feature should result in me being able to set attributes for the different elements in pagination like the selects and buttons.

Required functionality

No response

Specific timeline issues / requests

No response

Available extra resources

No response

Code of Conduct

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Completed 🚢

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions