cypress 7.0.1 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/cypress.d.ts +12 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "7.0.1",
3
+ "version": "7.1.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -2615,8 +2615,12 @@ declare namespace Cypress {
2615
2615
  */
2616
2616
  firefoxGcInterval: Nullable<number | { runMode: Nullable<number>, openMode: Nullable<number> }>
2617
2617
  /**
2618
- * Enables AST-based JS/HTML rewriting. This may fix issues caused by the existing regex-based JS/HTML replacement
2619
- * algorithm.
2618
+ * Allows listening to the `before:run`, `after:run`, `before:spec`, and `after:spec` events in the plugins file during interactive mode.
2619
+ * @default false
2620
+ */
2621
+ experimentalInteractiveRunEvents: boolean
2622
+ /**
2623
+ * Generate and save commands directly to your test suite by interacting with your app as an end user would.
2620
2624
  * @default false
2621
2625
  */
2622
2626
  experimentalSourceRewriting: boolean
@@ -5159,22 +5163,22 @@ declare namespace Cypress {
5159
5163
  }
5160
5164
 
5161
5165
  interface BeforeRunDetails {
5162
- browser: Browser
5166
+ browser?: Browser
5163
5167
  config: ConfigOptions
5164
5168
  cypressVersion: string
5165
5169
  group?: string
5166
- parallel: boolean
5170
+ parallel?: boolean
5167
5171
  runUrl?: string
5168
- specs: Spec[]
5169
- specPattern: string[]
5172
+ specs?: Spec[]
5173
+ specPattern?: string[]
5170
5174
  system: SystemDetails
5171
5175
  tag?: string
5172
5176
  }
5173
5177
 
5174
5178
  interface DevServerOptions {
5175
5179
  specs: Spec[]
5176
- config: ResolvedConfigOptions & RuntimeConfigOptions,
5177
- devServerEvents: NodeJS.EventEmitter,
5180
+ config: ResolvedConfigOptions & RuntimeConfigOptions
5181
+ devServerEvents: NodeJS.EventEmitter
5178
5182
  }
5179
5183
 
5180
5184
  interface ResolvedDevServerConfig {