Skip to content

Commit e68d4c0

Browse files
docs: remove references to docs before v10
1 parent 5a80feb commit e68d4c0

File tree

13 files changed

+16
-821
lines changed

13 files changed

+16
-821
lines changed

docs/api/cypress-api/env.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ Cypress.env() // => {foo: 'foo', baz: 'quux', host: 'http://server.dev.local'}
164164

165165
### From a plugin
166166

167-
<WarningPluginsFile />
168-
169167
Here's an example that uses `Cypress.env` to access an environment variable
170168
that's been
171169
[dynamically set in a plugin](/guides/tooling/plugins-guide).

docs/api/plugins/configuration-api.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ for more information on how this works.
8383

8484
### Switch between multiple configuration files
8585

86-
<WarningPluginsFile />
87-
8886
This means you can do things like store multiple configuration files and switch
8987
between them like:
9088

docs/api/plugins/writing-a-plugin.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ The Plugins API allows you to hook into and extend Cypress behavior.
1111

1212
:::
1313

14-
<WarningPluginsFile />
15-
1614
## Plugins API
1715

1816
The [`setupNodeEvents`](/guides/references/configuration#setupNodeEvents)
@@ -180,5 +178,3 @@ exported function again.
180178
This enables you to iterate on plugin code even with Cypress already running.
181179

182180
<!-- map often used refs to deeplinks within page !-->
183-
184-
[legacypluginsfile]: /guides/references/legacy-configuration#Plugins

docs/guides/core-concepts/writing-and-organizing-tests.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,6 @@ results, and easily shared or browsed through our web interface. To learn more a
257257

258258
### Plugins file
259259

260-
<WarningPluginsFile />
261-
262260
The plugins file is a special file that executes in Node before the project is
263261
loaded, before the browser launches, and during your test execution. While the
264262
Cypress tests execute in the browser, the plugins file runs in the background

docs/guides/references/changelog.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,7 +4871,7 @@ to Cypress 7.0.**
48714871
[#8714](https://github.com/cypress-io/cypress/issues/8714).
48724872
- The bundled Node.js version was upgraded from `12.18.3` to `14.16.0`. This
48734873
could change the behavior of code within the `pluginsFile` when using the
4874-
[bundled Node.js version](/guides/references/legacy-configuration#Node-version) of
4874+
bundled Node.js version of
48754875
Cypress. Addressed in
48764876
[#15292](https://github.com/cypress-io/cypress/pull/15292).
48774877
- Installing Cypress on your system now requires Node.js 12+. Addresses
@@ -7956,7 +7956,7 @@ _Released 10/31/2019_
79567956

79577957
**Features:**
79587958

7959-
- [testFiles](/guides/references/legacy-configuration#Folders--Files) now also accepts
7959+
- `testFiles` now also accepts
79607960
an Array of glob patterns when specifying what test files to load in
79617961
configuration. Addresses
79627962
[#5401](https://github.com/cypress-io/cypress/issues/5401).
@@ -8043,12 +8043,12 @@ _Released 10/23/2019_
80438043
pass `false` to the `--config-file` to not use any configuration file.
80448044
Addresses [#1369](https://github.com/cypress-io/cypress/issues/1369).
80458045
- You can now use your system's Node version by setting the
8046-
[nodeVersion](/guides/references/legacy-configuration#Node-version) to `system` in
8046+
`nodeVersion` to `system` in
80478047
your configuration. This Node version will be used to build files in your
8048-
[integrationFolder](/guides/references/legacy-configuration#Folders--Files) and
8049-
[supportFile](/guides/references/legacy-configuration#Folders--Files) and also be used
8048+
`integrationFolder` and
8049+
`supportFile` and also be used
80508050
to execute code in your
8051-
[pluginsFile](/guides/references/legacy-configuration#Folders--Files). If not set,
8051+
`pluginsFile`. If not set,
80528052
Cypress will continue to use the Node version bundled with Cypress. Addresses
80538053
[#4432](https://github.com/cypress-io/cypress/issues/4432).
80548054
- [.dblclick()](/api/commands/dblclick) now accepts `position`, `x`, and `y`
@@ -9618,8 +9618,8 @@ _Released 11/2/2018_
96189618
- We updated how we handle
96199619
[trashAssetsBeforeRuns](/guides/references/configuration#Screenshots)
96209620
behavior. We now trash the contents of the
9621-
[screenshotsFolder](/guides/references/legacy-configuration#Folders--Files) and
9622-
[videosFolder](/guides/references/legacy-configuration#Folders--Files) directories
9621+
`screenshotsFolder` and
9622+
`videosFolder` directories
96239623
instead of trashing the directories themselves. This helps maintain any file
96249624
access permissions for the directories. Fixes
96259625
[#1943](https://github.com/cypress-io/cypress/issues/1943) and
@@ -10020,7 +10020,7 @@ _Released 6/28/2018_
1002010020
elements with `position: sticky`. Fixes
1002110021
[#1475](https://github.com/cypress-io/cypress/issues/1475).
1002210022
- Fixed a bug where changing the
10023-
[integrationFolder](/guides/references/legacy-configuration#Folders--Files) in Windows
10023+
`integrationFolder` in Windows
1002410024
would lead to errors with plugins. Fixes
1002510025
[#1704](https://github.com/cypress-io/cypress/issues/1704).
1002610026
- Cypress no longer crashes when a 3rd party server sends invalid `gzip`
@@ -12174,7 +12174,7 @@ _Released 11/27/2016_
1217412174
**Breaking Changes:**
1217512175

1217612176
- Previously, we auto-magically included all files within
12177-
[`cypress/support`](/guides/references/legacy-configuration#Folders--Files).
12177+
`cypress/support`.
1217812178
This has now [gone away](/guides/references/error-messages#Support-file-missing-or-invalid) and we've
1217912179
simplified this to automatically including a single `cypress/support/index.js`
1218012180
file. That single file acts as the entry point meaning you should `import` or
@@ -12184,7 +12184,7 @@ _Released 11/27/2016_
1218412184
the implementation of it has. We will automatically seed a
1218512185
`cypress/support/index.js` file for you (even on existing projects). The file
1218612186
location of `cypress/support/index.js` can be changed with the new
12187-
[`supportFile`](/guides/references/legacy-configuration#Folders--Files)
12187+
`supportFile`
1218812188
option in your `cypress.json`. This feature can also be turned off by
1218912189
specifying `supportFile: false`.
1219012190

@@ -13326,12 +13326,12 @@ _Released 03/28/2016_
1332613326
- Cypress no longer looks at your `tests` directory for test files. Now, by
1332713327
default, it looks in the `cypress/integration` directory.
1332813328
- We've removed the configuration option `testFolder` and renamed it to
13329-
[`integrationFolder`](/guides/references/legacy-configuration#Folders--Files) inside
13329+
`integrationFolder` inside
1333013330
of the `cypress.json`.
1333113331
- We've renamed the `cypress` npm package to be `cypress-cli`. You'll see a
1333213332
giant deprecation warning until your scripts have been updated to reference
1333313333
`cypress-cli`.. You can also uninstall the `cypress` npm package.
13334-
- Added new [`fileServerFolder`](/guides/references/legacy-configuration#Folders--Files)
13334+
- Added new `fileServerFolder`
1333513335
configuration option that can mount a directory other than your project root
1333613336
when using Cypress as a web server.
1333713337

docs/guides/references/configuration.mdx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ title: Configuration
44

55
:::caution
66

7-
This guide is for Cypress 10+ and the new JavaScript configuration file format.
8-
9-
If you are on an older version of Cypress that uses `cypress.json`, please see
10-
the [legacy configuration](/guides/references/legacy-configuration) guide.
7+
This guide is for Cypress 10+.
118

129
For more info on upgrading configuration to Cypress 10, see the
1310
[migration guide](/guides/references/migration-guide#Migrating-to-Cypress-100).
@@ -628,13 +625,6 @@ internal behavior of Cypress using the [`on`](/api/plugins/writing-a-plugin#on)
628625
and [`config`](/api/plugins/writing-a-plugin#config) arguments, and is valid as
629626
an [`e2e`](#e2e) or [`component`](#component) testing specific option.
630627

631-
:::info
632-
633-
This function was added in Cypress version `10.0.0` to replace the deprecated
634-
[plugins file](/guides/references/legacy-configuration#Plugins).
635-
636-
:::
637-
638628
:::cypress-config-example
639629

640630
```ts

0 commit comments

Comments
 (0)