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

Cypress Test Runner - Autoscroll isn't working for the pinned elements if they're at the bottom of the page #29155

Open
ziyailkemerogul opened this issue Mar 15, 2024 · 2 comments
Labels
stage: needs information Not enough info to reproduce the issue stale no activity on this issue for a long period

Comments

@ziyailkemerogul
Copy link

Current behavior

When I have tests with a lot of steps, and I want to view the steps after the test run on the test runner; scrolling, hovering over the test body I mean, or clicking on every step that I want to view, the browser view on the right side doesn't scroll to the bottom of the page automatically.

For every single step, I click on the step, scroll the browser view down manually, check what I need to check, and then click on the next step (here the browser view automatically scrolls to the top of the page although the element that I clicked on the test body is at the bottom of the page) then again I go to the browser view and scroll down manually...

This is really time-consuming when I have tests at the bottom of the page or which need a bit of scrolling.

It doesn't focus on where it should focus.

Screenshot 2024-03-15 at 11 43 28

Desired behavior

The focus should always follow the selected or pinned element no matter where it is on the page. It should automatically scroll to show what is selected.

Test code to reproduce

N/A

Cypress Version

v13.6.6.

Node version

v18.17.0

Operating System

MacOS Sonoma 14.3.1

Debug Logs

No response

Other

No response

@jennifer-shehane
Copy link
Member

@ziyailkemerogul Are you able to provide a reproducible example? I wonder if there's some autoscroll behavior within the application under test that is making it scroll or scroll slowly...

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Mar 19, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs information Not enough info to reproduce the issue stale no activity on this issue for a long period
Projects
None yet
Development

No branches or pull requests

3 participants