Skip to content

Commit

Permalink
Merge branch 'develop' into cacie/dep/electron-27
Browse files Browse the repository at this point in the history
  • Loading branch information
cacieprins authored Feb 2, 2024
2 parents 7c87a94 + baafe32 commit f707c63
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
1 change: 0 additions & 1 deletion guides/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ _Note: It is advisable to notify the team that the `develop` branch is locked do
- [cypress-example-todomvc](/~https://github.com/cypress-io/cypress-example-todomvc/issues/99)
- [cypress-realworld-app](/~https://github.com/cypress-io/cypress-realworld-app/issues/41)
- [cypress-example-recipes](/~https://github.com/cypress-io/cypress-example-recipes/issues/225)
- [cypress-example-docker-compose](/~https://github.com/cypress-io/cypress-example-docker-compose/issues/71)
Take a break, you deserve it! 👉😎👉
Expand Down
11 changes: 9 additions & 2 deletions packages/app/cypress/e2e/specs_list_e2e.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,16 +317,23 @@ describe('App: Spec List (E2E)', () => {
const targetSpecFile = 'accounts_list.spec.js'

clearSearchAndType(targetSpecFile)

// wait for filter
cy.findAllByTestId('spec-item').should('have.length', 1)

cy.contains('a', targetSpecFile).click()

// make sure we are on the spec view before clicking back to the specs list
cy.findByTestId('runnable-header').contains(targetSpecFile)

cy.contains('input', targetSpecFile).should('not.exist')

cy.get('button[aria-controls="reporter-inline-specs-list"]').click({ force: true })
cy.contains('button', 'Specs').click({ force: true })

// wait until specs list is visible
cy.findByTestId('specs-list-container').should('be.visible')

cy.get('@searchField').should('be.visible').and('have.value', targetSpecFile)
cy.get('@searchField').should('have.value', targetSpecFile)

cy.findByTestId('sidebar-link-specs-page').click()

Expand Down
19 changes: 11 additions & 8 deletions packages/https-proxy/test/integration/proxy_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,29 +320,32 @@ describe('Proxy', () => {
})
})

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

return request({
await request({
strictSSL: false,
url: 'https://localhost:8444/replace',
proxy: 'http://localhost:3333',
resolveWithFullResponse: true,
forever: false,
})
.then(() => {
// ensure the outgoing socket created for this connection was destroyed
expect(net.connect).calledOnce
const socket = net.connect.getCalls()[0].returnValue

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

// sometimes the close event happens before we can attach the listener,
// causing this test to flake
if (!socket.destroyed || !socket.readyState === 'closed') {
return new Promise((resolve) => {
return socket.on('close', () => {
socket.on('close', () => {
expect(socket.destroyed).to.be.true

resolve()
})
})
})
}
})

// /~https://github.com/cypress-io/cypress/issues/4257
Expand Down

4 comments on commit f707c63

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on f707c63 Feb 2, 2024

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.5/linux-x64/cacie/dep/electron-27-f707c63cc2a4cdaaba46e14f90a2ebf8d00f6b02/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on f707c63 Feb 2, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.5/darwin-x64/cacie/dep/electron-27-f707c63cc2a4cdaaba46e14f90a2ebf8d00f6b02/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on f707c63 Feb 2, 2024

Choose a reason for hiding this comment

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

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.5/win32-x64/cacie/dep/electron-27-f707c63cc2a4cdaaba46e14f90a2ebf8d00f6b02/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on f707c63 Feb 2, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.6.5/darwin-arm64/cacie/dep/electron-27-f707c63cc2a4cdaaba46e14f90a2ebf8d00f6b02/cypress.tgz

Please sign in to comment.