Skip to content

Commit ea7d825

Browse files
Merge branch 'develop' into keyboard-dialog-save-studio
2 parents 677937e + d599aa7 commit ea7d825

File tree

33 files changed

+218
-205
lines changed

33 files changed

+218
-205
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ jobs:
129129
resource_class: small
130130
steps:
131131
- cancel-draft-prs
132-
- checkout
132+
- checkout:
133+
method: blobless
133134
- restore-src-checksum-cache
134135
- persist-to-workspace-and-exit-early
135136
- pack-workflows

.circleci/src/pipeline/@pipeline.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,8 @@ jobs:
14731473
default: false
14741474
resource_class: << parameters.resource_class >>
14751475
steps:
1476-
- checkout
1476+
- checkout:
1477+
method: full
14771478
- install-required-node
14781479
- verify-build-setup:
14791480
executor: << parameters.executor >>

cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ _Released 11/4/2025 (PENDING)_
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).
2626
- The keyboard shortcuts modal now displays the keyboard shortcut for saving Studio changes - `` + `s` for Mac or `Ctrl` + `s` for Windows/Linux. Addressed [#32862](https://github.com/cypress-io/cypress/issues/32862). Addressed in [#32864](https://github.com/cypress-io/cypress/pull/32864).
27+
- The 'Next' tooltip style was updated. Addressed in [#32866](https://github.com/cypress-io/cypress/pull/32866).
2728

2829
**Dependency Updates:**
2930

packages/https-proxy/lib/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ import { create as createProxy, reset as resetProxy } from './proxy'
22
import { CA } from './ca'
33

44
export { createProxy, resetProxy, CA }
5+
6+
export type { Server } from './server'

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>

packages/reporter/src/test/test-model.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ export default class Test extends Runnable {
5151
type = 'test'
5252

5353
_callbackAfterUpdate: UpdateTestCallback | null = null
54-
hooks: HookProps[]
5554
invocationDetails?: FileDetails
5655

5756
attempts: Attempt[] = []

packages/server/lib/cache.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Promise from 'bluebird'
33
import { globalPubSub } from '@packages/data-context'
44
import { fs } from './util/fs'
55
import appData from './util/app_data'
6-
import FileUtil from './util/file'
6+
import { File as FileUtil } from './util/file'
77
import type { Cache, CachedUser, Preferences, Cohort } from '@packages/types'
88

99
interface Transaction {
@@ -55,6 +55,7 @@ export const cache = {
5555
},
5656

5757
getProjectRoots (): Promise<string[]> {
58+
// @ts-expect-error - transaction is untyped currently
5859
return fileUtil.transaction((tx: Transaction) => {
5960
return this._getProjects(tx).then((projects) => {
6061
const pathsToRemove = Promise.reduce(projects, (memo: string[], path: string) => {
@@ -76,6 +77,7 @@ export const cache = {
7677
},
7778

7879
removeProject (path: string): Promise<void> {
80+
// @ts-expect-error - transaction is untyped currently
7981
return fileUtil.transaction((tx: Transaction) => {
8082
return this._getProjects(tx).then((projects) => {
8183
return this._removeProjects(tx, projects, path)
@@ -84,6 +86,7 @@ export const cache = {
8486
},
8587

8688
insertProject (path: string): Promise<void> {
89+
// @ts-expect-error - transaction is untyped currently
8790
return fileUtil.transaction((tx: Transaction) => {
8891
return this._getProjects(tx).then((projects) => {
8992
// projects are sorted by most recently used, so add a project to
@@ -124,6 +127,7 @@ export const cache = {
124127
},
125128

126129
insertProjectPreferences (projectTitle: string, projectPreferences: Preferences): Promise<void> {
130+
// @ts-expect-error - transaction is untyped currently
127131
return fileUtil.transaction((tx: Transaction) => {
128132
return tx.get('PROJECT_PREFERENCES', {}).then((preferences) => {
129133
return tx.set('PROJECT_PREFERENCES', {
@@ -163,6 +167,7 @@ export const cache = {
163167
},
164168

165169
insertCohort (cohort: Cohort): Promise<void> {
170+
// @ts-expect-error - transaction is untyped currently
166171
return fileUtil.transaction((tx: Transaction) => {
167172
return tx.get('COHORTS', {}).then((cohorts) => {
168173
return tx.set('COHORTS', {

packages/server/lib/cloud/api/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import { isNonRetriableCertErrorCode } from '../network/non_retriable_cert_error
4040

4141
const debug = debugModule('cypress:server:cloud:api')
4242
const debugProtocol = debugModule('cypress:server:protocol')
43+
const debugVerbose = debugModule('cypress-verbose:server:cloud:api')
4344

4445
const THIRTY_SECONDS = humanInterval('30 seconds')
4546
const SIXTY_SECONDS = humanInterval('60 seconds')
@@ -164,7 +165,8 @@ const rp = request.defaults((params: CypressRequestOptions, callback) => {
164165
cacheResponse(resp, params)
165166
}
166167

167-
return debug('response %o', resp)
168+
debug(`${params.method} ${params.url} response received`)
169+
debugVerbose('response: %o', resp)
168170
})
169171
})
170172

packages/server/lib/cloud/auth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const url = require('url')
99
const { shell } = require('electron')
1010

1111
const machineId = require('./machine_id')
12-
const random = require('../util/random')
12+
import { id as randomId } from '../util/random'
1313
const user = require('./user')
1414

1515
let app
@@ -29,7 +29,7 @@ const buildFullLoginUrl = (baseLoginUrl, server, utmSource, utmMedium, utmConten
2929
const { port } = server.address()
3030

3131
if (!authState) {
32-
authState = random.id(32)
32+
authState = randomId(32)
3333
}
3434

3535
const authUrl = url.parse(baseLoginUrl)

0 commit comments

Comments
 (0)