Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion source/guides/references/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Option | Default | Description
`pluginsFile` | `cypress/plugins/index.js` | Path to plugins file. (Pass `false` to disable)
`screenshotsFolder` | `cypress/screenshots` | Path to folder where screenshots will be saved from {% url `cy.screenshot()` screenshot %} command or after a test fails during `cypress run`
`supportFile` | `cypress/support/index.js` | Path to file to load before test files load. This file is compiled and bundled. (Pass `false` to disable)
`testFiles` | `**/*.*` | A String glob pattern of the test files to load
`testFiles` | `**/*.*` | A String or Array of glob patterns of the test files to load
`videosFolder` | `cypress/videos` | Path to folder where videos will be saved during `cypress run`

## Screenshots
Expand Down Expand Up @@ -125,6 +125,10 @@ cypress run --config integrationFolder=tests,fixturesFolder=false
cypress run --record --config viewportWidth=1280,viewportHeight=720
```

```shell
cypress open --config watchForFileChanges=false,testFiles=["**/*.js","**/*.coffee"]
```

## Plugins

As of {% url `1.2.0` changelog#1-2-0 %} you can programmatically modify configuration values using Node code. This enables you to do things like use `fs` and read off configuration values and dynamically change them.
Expand Down