Skip to content
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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Al-Dani
Copy link
Member

@Al-Dani Al-Dani commented Dec 13, 2024

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

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -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;
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link

codecov bot commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.40%. Comparing base (b46a730) to head (5286957).
Report is 20 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@Al-Dani Al-Dani force-pushed the non-scrollable-tests branch from 356e3c5 to 28c6984 Compare December 13, 2024 14:14

function execCommand(command, options = {}) {
try {
execSync(command, { stdio: 'inherit', ...options });

Check warning

Code scanning / CodeQL

Shell command built from environment values Medium

This shell command depends on an uncontrolled
absolute path
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant