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

Fix table scroll tests on WebKit #1963

Merged
merged 5 commits into from
Mar 27, 2024
Merged

Conversation

mollykreis
Copy link
Contributor

Pull Request

🀨 Rationale

Resolves #1942

πŸ‘©β€πŸ’» Implementation

WebKit doesn't appear to fire the scroll event when a scroll done by setting scrollTop on an element. Therefore, I've updated the page object to scroll using the scroll() function, which does cause the event to be fired. As a result, the table's virtualizer correctly detects the change and the tests pass.

πŸ§ͺ Testing

Ran all the table tests in webkit locally and on the pipeline to verify they pass.

βœ… Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@mollykreis
Copy link
Contributor Author

@msmithNI, will you buddy this PR for me?

@mollykreis mollykreis requested a review from msmithNI March 27, 2024 19:30
@mollykreis mollykreis marked this pull request as ready for review March 27, 2024 20:22
@rajsite rajsite enabled auto-merge (squash) March 27, 2024 20:36
@rajsite rajsite merged commit cc82598 into main Mar 27, 2024
11 checks passed
@rajsite rajsite deleted the fix-table-scroll-tests-webkit branch March 27, 2024 21:03
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.

Some table tests fail in WebKit and/or Safari due to focusedRecycleCallback
3 participants