Skip to content

Conversation

@mabela416
Copy link
Contributor

@mabela416 mabela416 commented Oct 28, 2025

Additional details

  • Make test name header sticky in studio mode and in the tests list

Steps to test

In tests list

Screen.Recording.2025-10-28.at.12.36.02.PM.mov

In studio

Screen.Recording.2025-10-28.at.10.52.07.AM.mov

How has the user experience changed?

PR Tasks


Note

Makes test headers sticky with a scroll-activated shadow in Studio and the tests list, updating styles and adding IntersectionObserver logic.

  • Reporter UI:
    • Sticky test headers: Apply sticky-header-with-shadow to test/runnable headers in collapsible.scss and StudioTest.scss for Studio and tests list.
    • Scroll shadow behavior: Add IntersectionObserver in collapsible.tsx and StudioTest.tsx to toggle shadow-active class via sentinel div.
    • Styles: Introduce sticky-header-with-shadow mixin in lib/mixins.scss; minor style tweak in runnables.scss (remove overflow on .runnable).
  • Changelog: Document the sticky header change in cli/CHANGELOG.md.

Written by Cursor Bugbot for commit f14b77d. This will update automatically on new commits. Configure here.

@cypress
Copy link

cypress bot commented Oct 28, 2025

cypress    Run #67007

Run Properties:  status check passed Passed #67007  •  git commit 9ac8da7671: only display shadow for test header
Project cypress
Branch Review mabel/issue-32591-sticky-test-name-studio
Run status status check passed Passed #67007
Run duration 19m 18s
Commit git commit 9ac8da7671: only display shadow for test header
Committer Mabel Amaya
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 14
Tests that did not run due to a developer annotating a test with .skip  Pending 1102
Tests that did not run due to a failure in a mocha hook  Skipped 4
Tests that passed  Passing 26755
View all changes introduced in this branch ↗︎

Warning

Partial Report: The results for the Application Quality reports may be incomplete.

UI Coverage  45.48%
  Untested elements 188  
  Tested elements 161  
Accessibility  97.98%
  Failed rules  4 critical   8 serious   2 moderate   2 minor
  Failed elements 101  

@mabela416 mabela416 changed the title misc: make studio test name header sticky misc: make test name header sticky in studio and tests list Oct 28, 2025
width: 100%;
color: $gray-400;
background-color: $gray-1100;
overflow: auto;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was preventing the sticky header for the test name in the tests list

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we have overflow-y: auto in the .container of the tests list to handle the vertical scrollbar and we have overflow for the other containers within the container so I think this is safe to remove

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.

UI: Sticky header for test name when in Studio mode and in tests list mode

2 participants