-
Notifications
You must be signed in to change notification settings - Fork 160
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
chore: Fix elements scrolling with elementScrollTo in integration tests #3138
base: main
Are you sure you want to change the base?
Conversation
@@ -44,7 +44,7 @@ describe('Cards Sticky Header', () => { | |||
const scrollTopToBtn = '#scroll-to-top-btn'; | |||
const toggleStickinessBtn = '#toggle-stickiness-btn'; | |||
const toggleVerticalOffsetBtn = '#toggle-vertical-offset-btn'; | |||
const overflowParentPageHeight = 300; |
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.
it isn't failing, but also doesn't match with actual height https://github.com/cloudscape-design/components/blob/main/pages/cards/sticky-header.page.tsx#L68
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3138 +/- ##
==========================================
+ Coverage 96.39% 96.40% +0.01%
==========================================
Files 784 784
Lines 22059 22131 +72
Branches 7159 7530 +371
==========================================
+ Hits 21263 21336 +73
+ Misses 789 743 -46
- Partials 7 52 +45 ☔ View full report in Codecov by Sentry. |
356e3c5
to
28c6984
Compare
Description
Related links, issue #, if available:
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md
.CONTRIBUTING.md
.Security
checkSafeUrl
function.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.