Skip to content

Commit db0035c

Browse files
misc: Fix 'next' tooltip style (#32866)
* misc: Fix 'next' tooltip style * changelog entry
1 parent dd12ce0 commit db0035c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ _Released 11/4/2025 (PENDING)_
2323
- The hitbox for expanding a grouped command has been widened. Addresses [#32778](https://github.com/cypress-io/cypress/issues/32778). Addressed in [#32783](https://github.com/cypress-io/cypress/pull/32783).
2424
- Have cursor on hover of the AUT URL to show as pointer. Addresses [#32777](https://github.com/cypress-io/cypress/issues/32777). Addressed in [#32782](https://github.com/cypress-io/cypress/pull/32782).
2525
- WebKit now prefers a cookie's fully qualified `domain` when requesting a cookie value via [`cy.getCookie()`](https://docs.cypress.io/api/commands/getcookie). If none are found, the cookie's apex domain will be used as a fallback. Addresses [#29954](https://github.com/cypress-io/cypress/issues/29954), [#29973](https://github.com/cypress-io/cypress/issues/29973) and [#30392](https://github.com/cypress-io/cypress/issues/30392). Addressed in [#32852](https://github.com/cypress-io/cypress/pull/32852).
26+
- The 'Next' tooltip style was updated. Addressed in [#32866](https://github.com/cypress-io/cypress/pull/32866).
2627

2728
**Dependency Updates:**
2829

packages/reporter/cypress/e2e/header.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ describe('header', () => {
321321

322322
it('displays tooltip for next button', () => {
323323
cy.get('.next').trigger('mouseover')
324-
cy.get('.cy-tooltip').should('have.text', `Next [N]:find`)
324+
cy.get('.cy-tooltip').should('have.text', 'Next N : find')
325325
})
326326

327327
it('emits runner:next when next button is clicked', () => {

packages/reporter/src/header/controls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Controls: React.FC<Props> = observer(({ events = defaultEvents, appState }
5656
{(appState.isPaused || (appState.isRunning && appState.hasBeenPaused)) && (
5757
<Tooltip
5858
placement='bottom'
59-
title={appState.nextCommandName ? <p>Next <span className='kbd'>[N]:</span>{appState.nextCommandName}</p> : <p>Step (not available)</p>}
59+
title={appState.nextCommandName ? <p>Next <span className='kbd'>N</span> : {appState.nextCommandName}</p> : <p>Step (not available)</p>}
6060
className='cy-tooltip'
6161
>
6262
<div>

0 commit comments

Comments
 (0)