Skip to content

Commit 9580dc2

Browse files
breaking: default video configuration option to false (#27008)
* chore: update darwin v8 snapshot * BREAKING CHANGE: set video to false by default (system tests need updating). * Update cli/CHANGELOG.md Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> * chore: update type comments * chore: update protocol snapshot * run ci * run ci * set video to true for chrome browser crash test * chore: put in workaround for failing system test spec to be fixed in 27062 * chore: allow retries on actionability tests to be at least one retry as the CI tests run faster without video on * chore: fix flaky navigation test where done is called multiple times almsot always, but sometimes throws an error --------- Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
1 parent 5f93282 commit 9580dc2

File tree

125 files changed

+271
-1533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+271
-1533
lines changed

.circleci/workflows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2070,7 +2070,6 @@ jobs:
20702070
CYPRESS_PROJECT_ID=$TEST_KITCHENSINK_PROJECT_ID \
20712071
CYPRESS_RECORD_KEY=$TEST_KITCHENSINK_RECORD_KEY \
20722072
CYPRESS_INTERNAL_ENV=staging \
2073-
CYPRESS_video=false \
20742073
yarn cypress:run --project /tmp/cypress-example-kitchensink --record
20752074
- store-npm-logs
20762075

cli/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ _Released 08/1/2023 (PENDING)_
66
**Breaking Changes:**
77

88
- The [`cy.readFile()`](/api/commands/readfile) command is now retry-able as a [query command](https://on.cypress.io/retry-ability). This should not affect any tests using it; the functionality is unchanged. However, it can no longer be overwritten using [`Cypress.Commands.overwrite()`](/api/cypress-api/custom-commands#Overwrite-Existing-Commands). Addressed in [#25595](https://github.com/cypress-io/cypress/pull/25595).
9+
- The [`video`](https://docs.cypress.io/guides/references/configuration#Videos) configuration option now defaults to `false`. Addresses [#26157](https://github.com/cypress-io/cypress/issues/26157).
910

1011
- The deprecated configuration option, `nodeVersion` has been removed. Addresses [#27016](https://github.com/cypress-io/cypress/issues/27016).
1112

cli/types/cypress.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3007,8 +3007,8 @@ declare namespace Cypress {
30073007
*/
30083008
videoCompression: number | boolean
30093009
/**
3010-
* Whether Cypress will record a video of the test run when running headlessly.
3011-
* @default true
3010+
* Whether Cypress will record a video of the test run when executing in run mode.
3011+
* @default false
30123012
*/
30133013
video: boolean
30143014
/**

npm/grep/cypress.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ module.exports = defineConfig({
1111
specPattern: '**/spec.js',
1212
},
1313
fixturesFolder: false,
14-
video: false,
1514
})

npm/react/cypress.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
module.exports = {
22
'viewportWidth': 400,
33
'viewportHeight': 400,
4-
'video': false,
54
'projectId': 'z9dxah',
65
'env': {
76
'reactDevtools': true,

npm/vue/cypress.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { defineConfig } from 'cypress'
33
export default defineConfig({
44
'viewportWidth': 500,
55
'viewportHeight': 500,
6-
'video': false,
76
'responseTimeout': 2500,
87
'projectId': '134ej7',
98
'experimentalFetchPolyfill': true,

npm/webpack-preprocessor/test/e2e/helpers.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,6 @@ exports.runTest = async (options = {}) => {
9191
spec: opts.spec,
9292
browser: opts.browser,
9393
exit: opts.exit,
94-
config: {
95-
video: false,
96-
},
9794
dev: true,
9895
})
9996
.finally(() => {

packages/app/cypress/fixtures/debug-Failing/gql-CloudViewerAndProject_RequiredData.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
"field": "userAgent"
295295
},
296296
{
297-
"value": true,
297+
"value": false,
298298
"from": "default",
299299
"field": "video"
300300
},

packages/app/cypress/fixtures/debug-Failing/gql-HeaderBar_HeaderBarQuery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
"field": "userAgent"
271271
},
272272
{
273-
"value": true,
273+
"value": false,
274274
"from": "default",
275275
"field": "video"
276276
},

packages/app/cypress/fixtures/debug-Failing/gql-SpecsPageContainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@
655655
"field": "userAgent"
656656
},
657657
{
658-
"value": true,
658+
"value": false,
659659
"from": "default",
660660
"field": "video"
661661
},

0 commit comments

Comments
 (0)