cypress 12.17.0 → 12.17.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "12.17.0",
3
+ "version": "12.17.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
7
7
  "size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
8
8
  },
9
9
  "dependencies": {
10
- "@cypress/request": "^2.88.10",
10
+ "@cypress/request": "^2.88.11",
11
11
  "@cypress/xvfb": "^1.2.4",
12
12
  "@types/node": "^14.14.31",
13
13
  "@types/sinonjs__fake-timers": "8.1.1",
@@ -118,8 +118,8 @@
118
118
  },
119
119
  "buildInfo": {
120
120
  "commitBranch": "develop",
121
- "commitSha": "12823cd59771ebf40b095cc8c49063f5f4109adf",
122
- "commitDate": "2023-07-05T17:53:14.000Z",
121
+ "commitSha": "17ed1c9831054c5875e21d29c588a5ecb50edcbc",
122
+ "commitDate": "2023-07-10T16:34:12.000Z",
123
123
  "stable": true
124
124
  },
125
125
  "description": "Cypress is a next generation front end testing tool built for the modern web",
@@ -1901,15 +1901,17 @@ declare namespace Cypress {
1901
1901
  * cy.screenshot()
1902
1902
  * cy.get(".post").screenshot()
1903
1903
  */
1904
- screenshot(options?: Partial<Loggable & Timeoutable & ScreenshotOptions>): Chainable<null>
1904
+ screenshot(options?: Partial<Loggable & Timeoutable & ScreenshotOptions>): Chainable<Subject>
1905
+
1905
1906
  /**
1906
1907
  * Take a screenshot of the application under test and the Cypress Command Log and save under given filename.
1907
1908
  *
1908
1909
  * @see https://on.cypress.io/screenshot
1909
1910
  * @example
1911
+ * cy.screenshot("post-element")
1910
1912
  * cy.get(".post").screenshot("post-element")
1911
1913
  */
1912
- screenshot(fileName: string, options?: Partial<Loggable & Timeoutable & ScreenshotOptions>): Chainable<null>
1914
+ screenshot(fileName: string, options?: Partial<Loggable & Timeoutable & ScreenshotOptions>): Chainable<Subject>
1913
1915
 
1914
1916
  /**
1915
1917
  * Scroll an element into view.