Skip to content

Commit

Permalink
Merge branch 'develop' into ryanm/chore/fix-yarn-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthemanuel authored Dec 11, 2024
2 parents c78fd42 + 74cf216 commit 9ff5814
Show file tree
Hide file tree
Showing 25 changed files with 5 additions and 104 deletions.
2 changes: 1 addition & 1 deletion browser-versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"chrome:beta": "132.0.6834.32",
"chrome:stable": "131.0.6778.108",
"chrome:stable": "131.0.6778.139",
"chrome:minimum": "64.0.3282.0"
}
4 changes: 4 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ _Released 12/17/2024 (PENDING)_
- Updated Firefox `userChrome.css` to correctly hide the toolbox during headless mode. Addresses [#30721](https://github.com/cypress-io/cypress/issues/30721).
- Fixed an issue loading the `cypress.config.ts` file with Node.js version `22.12.0`. Addresses [#30715](https://github.com/cypress-io/cypress/issues/30715).

**Misc:**

- Removed a comment from the scaffolded `supportFile` for component tests around CommonJS syntax. Addresses [#23287](https://github.com/cypress-io/cypress/issues/23287).

**Dependency Updates:**

- Updated `chai` from `4.2.0` to `4.5.0`. Addressed in [#30737](https://github.com/cypress-io/cypress/pull/30737).
Expand Down
17 changes: 0 additions & 17 deletions packages/driver/cypress/support/e2e.js
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
// ***********************************************************
// This example support/e2e.js is processed and
// loaded automatically before your other test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/guides/configuration#section-global
// ***********************************************************

// Alternatively you can use CommonJS syntax:
// require("./commands")
require('./defaults')
6 changes: 0 additions & 6 deletions packages/scaffold-config/src/supportFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ export function supportFileE2E (language: CodeLanguage['type']) {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
`
}

Expand All @@ -45,9 +42,6 @@ export function supportFileComponent (language: CodeLanguage['type'], mountModul
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
`

const exampleUse = dedent`
Expand Down
21 changes: 0 additions & 21 deletions packages/scaffold-config/test/unit/supportFile.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from '${mountModule}'
Cypress.Commands.add('mount', mount)
Expand Down Expand Up @@ -61,9 +58,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from '${mountModule}'
// Augment the Cypress namespace to include type definitions for
Expand Down Expand Up @@ -111,9 +105,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from '${mountModule}'
Cypress.Commands.add('mount', mount)
Expand Down Expand Up @@ -145,9 +136,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from '${mountModule}'
// Augment the Cypress namespace to include type definitions for
Expand Down Expand Up @@ -195,9 +183,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from '${mountModule}'
// Augment the Cypress namespace to include type definitions for
Expand Down Expand Up @@ -244,9 +229,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from 'cypress/svelte'
Cypress.Commands.add('mount', mount)
Expand Down Expand Up @@ -278,9 +260,6 @@ describe('supportFileComponent', () => {
// Import commands.js using ES2015 syntax:
import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from 'cypress/svelte'
// Augment the Cypress namespace to include type definitions for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/angular'

// Augment the Cypress namespace to include type definitions for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/vue2'

Cypress.Commands.add('mount', mount)
Expand Down
3 changes: 0 additions & 3 deletions system-tests/projects/no-specs/cypress/support/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react'

Cypress.Commands.add('mount', mount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@

// Import commands.js using ES2015 syntax:
import '@cypress/code-coverage/support'
// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/vue'

Cypress.Commands.add('mount', mount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react'

Cypress.Commands.add('mount', mount)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/react'

// Augment the Cypress namespace to include type definitions for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
3 changes: 0 additions & 3 deletions system-tests/projects/ts-proj-4-5/cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
// import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
3 changes: 0 additions & 3 deletions system-tests/projects/ts-proj-5/cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
// import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')
3 changes: 0 additions & 3 deletions system-tests/projects/ts-proj/cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@

// Import commands.js using ES2015 syntax:
import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

0 comments on commit 9ff5814

Please sign in to comment.