Skip to content

Commit e4904d6

Browse files
authored
Merge branch 'develop' into release/14.0.0
2 parents 6324e72 + 02db483 commit e4904d6

File tree

5 files changed

+29
-18
lines changed

5 files changed

+29
-18
lines changed

browser-versions.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"chrome:beta": "132.0.6834.15",
3-
"chrome:stable": "131.0.6778.85",
2+
"chrome:beta": "132.0.6834.32",
3+
"chrome:stable": "131.0.6778.108",
44
"chrome:minimum": "64.0.3282.0"
55
}

cli/CHANGELOG.md

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ _Released 12/03/2024_
7070

7171
**Bugfixes:**
7272

73-
- Support multiple imports of one module with multiple lines. Addressed in [#30314](https://github.com/cypress-io/cypress/pull/30314).
7473
- During recorded or parallel runs, execution will fail if Cypress is unable to confirm the creation of an instance instead of skipping the spec. Addresses [#30628](https://github.com/cypress-io/cypress/issues/30628).
7574

7675
## 13.16.0

npm/vite-plugin-cypress-esm/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [@cypress/vite-plugin-cypress-esm-v1.1.2](https://github.com/cypress-io/cypress/compare/@cypress/vite-plugin-cypress-esm-v1.1.1...@cypress/vite-plugin-cypress-esm-v1.1.2) (2024-12-03)
2+
3+
4+
### Bug Fixes
5+
6+
* support multiple imports of one module with multiple lines ([#30314](https://github.com/cypress-io/cypress/issues/30314)) ([12df40e](https://github.com/cypress-io/cypress/commit/12df40ed8c1101c5c4053a1fe63c06fcd2809bc7))
7+
18
# [@cypress/vite-plugin-cypress-esm-v1.1.1](https://github.com/cypress-io/cypress/compare/@cypress/vite-plugin-cypress-esm-v1.1.0...@cypress/vite-plugin-cypress-esm-v1.1.1) (2024-05-10)
29

310

packages/https-proxy/test/integration/proxy_spec.js

+18-15
Original file line numberDiff line numberDiff line change
@@ -90,29 +90,31 @@ describe('Proxy', () => {
9090
})
9191
})
9292

93-
it('closes outgoing connections when client disconnects', function () {
93+
it('closes outgoing connections when client disconnects', async function () {
9494
this.sandbox.spy(net, 'connect')
9595

96-
return request({
96+
await request({
9797
strictSSL: false,
9898
url: 'https://localhost:8444/replace',
9999
proxy: 'http://localhost:3333',
100100
resolveWithFullResponse: true,
101101
})
102-
.then(() => {
103-
// ensure the outgoing socket created for this connection was destroyed
104-
expect(net.connect).calledOnce
105102

106-
const socket = net.connect.getCalls()[0].returnValue
103+
// ensure the outgoing socket created for this connection was destroyed
104+
expect(net.connect).calledOnce
107105

108-
return new Promise((resolve) => {
106+
const socket = net.connect.getCalls()[0].returnValue
107+
108+
// sometimes the close event happens before we can attach the listener, causing this test to flake
109+
if (!socket.destroyed || !socket.readyState === 'closed') {
110+
await new Promise((resolve) => {
109111
socket.on('close', () => {
110112
expect(socket.destroyed).to.be.true
111113

112114
resolve()
113115
})
114116
})
115-
})
117+
}
116118
})
117119

118120
it('can boot the httpServer', () => {
@@ -127,7 +129,9 @@ describe('Proxy', () => {
127129
})
128130
})
129131

130-
context('generating certificates', () => {
132+
context('generating certificates', function () {
133+
this.retries(4)
134+
131135
it('reuses existing certificates', function () {
132136
return request({
133137
strictSSL: false,
@@ -270,13 +274,13 @@ describe('Proxy', () => {
270274
process.env.npm_config_noproxy = 'just,some,nonsense'
271275

272276
process.env.NO_PROXY = ''
273-
process.env.HTTP_PROXY = process.env.HTTPS_PROXY = 'http://localhost:9001'
277+
process.env.HTTP_PROXY = process.env.HTTPS_PROXY = 'http://localhost:2222'
274278

275279
this.upstream = new DebugProxy({
276280
keepRequests: true,
277281
})
278282

279-
return this.upstream.start(9001)
283+
return this.upstream.start(2222)
280284
})
281285

282286
it('passes a request to an https server through the upstream', function () {
@@ -309,7 +313,7 @@ describe('Proxy', () => {
309313
return true
310314
}
311315

312-
process.env.HTTP_PROXY = (process.env.HTTPS_PROXY = 'http://foo:bar@localhost:9001')
316+
process.env.HTTP_PROXY = process.env.HTTPS_PROXY = 'http://foo:bar@localhost:2222'
313317

314318
return request({
315319
strictSSL: false,
@@ -335,10 +339,9 @@ describe('Proxy', () => {
335339
expect(net.connect).calledOnce
336340
const socket = net.connect.getCalls()[0].returnValue
337341

338-
// sometimes the close event happens before we can attach the listener,
339-
// causing this test to flake
342+
// sometimes the close event happens before we can attach the listener, causing this test to flake
340343
if (!socket.destroyed || !socket.readyState === 'closed') {
341-
return new Promise((resolve) => {
344+
await new Promise((resolve) => {
342345
socket.on('close', () => {
343346
expect(socket.destroyed).to.be.true
344347

system-tests/lib/normalizeStdout.ts

+2
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ export const normalizeStdout = function (str: string, options: any = {}) {
164164
.replace(crossOriginErrorRe, '[Cross origin error message]')
165165
// Replaces connection warning since Chrome or Firefox sometimes take longer to connect
166166
.replace(/Still waiting to connect to .+, retrying in 1 second \(attempt .+\/.+\)\n/g, '')
167+
// Replaces CDP connection error message in Firefox since Cypress will retry
168+
.replace(/Failed to spawn CDP with Firefox. Retrying.*\.\.\./, '')
167169

168170
if (options.browser === 'webkit') {
169171
// WebKit throws for lookups on undefined refs with "Can't find variable: <var>"

0 commit comments

Comments
 (0)