-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat(Pagination): Add testid for buttons #8038
feat(Pagination): Add testid for buttons #8038
Conversation
size-limit report 📦
|
e2e tests |
👀 Docs deployed
Commit c0f0fae |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8038 +/- ##
=======================================
Coverage 95.47% 95.48%
=======================================
Files 393 392 -1
Lines 11188 11153 -35
Branches 3708 3684 -24
=======================================
- Hits 10682 10649 -33
+ Misses 506 504 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
👍
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.
👍
✅ v7.1.0 🎉 |
Описание
Добавляем пропы для передачи testid в кнопки страниц и кнопки
next/prev
.В
Pagination
есть возможность рендерить кнопки кастомно и даже передётсяpage-data
с номером кнопки, но это не то же самое, что иdata-testid
. Унифицируем этот момент и добавляем в API.Release notes
Улучшения
pageButtonTestId
,prevButtonTestId
,nextButtonTestId
для передачиdata-testid
в интерактивные элементы.