cypress 15.18.1 → 15.20.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.
- package/angular/angular/dist/index.js +1 -1
- package/angular/dist/index.js +1 -1
- package/angular-zoneless/angular-zoneless/dist/index.js +1 -1
- package/angular-zoneless/dist/index.js +1 -1
- package/dist/bin/cypress +3 -3
- package/dist/{cli-MLF6G_xs.js → cli-D12O7C3R.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/{cypress-9PxR1qmG.js → cypress-CeosVfuM.js} +2 -2
- package/dist/cypress.js +4 -4
- package/dist/exec/spawn.js +2 -2
- package/dist/exec/xvfb.js +1 -1
- package/dist/index.js +4 -4
- package/dist/{spawn-DB1Wbiwy.js → spawn-jKQaK1f0.js} +1 -1
- package/dist/{xvfb-CqCqXRC-.js → xvfb-CzsAKhkL.js} +8 -3
- package/package.json +4 -5
- package/react/package.json +1 -1
- package/react/react/package.json +1 -1
- package/types/cy-chai.d.ts +41 -0
- package/types/cypress.d.ts +71 -5
- package/types/net-stubbing.d.ts +3 -0
- package/vue/dist/cypress-vue.cjs.js +1 -1
- package/vue/dist/cypress-vue.esm-bundler.js +1 -1
- package/vue/vue/dist/cypress-vue.cjs.js +1 -1
- package/vue/vue/dist/cypress-vue.esm-bundler.js +1 -1
|
@@ -27,7 +27,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
27
27
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
28
28
|
PERFORMANCE OF THIS SOFTWARE.
|
|
29
29
|
***************************************************************************** */
|
|
30
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
30
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
function __rest(s, e) {
|
package/angular/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
27
27
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
28
28
|
PERFORMANCE OF THIS SOFTWARE.
|
|
29
29
|
***************************************************************************** */
|
|
30
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
30
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
function __rest(s, e) {
|
|
@@ -25,7 +25,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
25
25
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
26
|
PERFORMANCE OF THIS SOFTWARE.
|
|
27
27
|
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
28
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
function __rest(s, e) {
|
|
@@ -25,7 +25,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
25
25
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
26
|
PERFORMANCE OF THIS SOFTWARE.
|
|
27
27
|
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
28
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
function __rest(s, e) {
|
package/dist/bin/cypress
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var cli = require('../cli-
|
|
5
|
-
require('../xvfb-
|
|
4
|
+
var cli = require('../cli-D12O7C3R.js');
|
|
5
|
+
require('../xvfb-CzsAKhkL.js');
|
|
6
6
|
require('os');
|
|
7
7
|
require('bluebird');
|
|
8
8
|
require('@cypress/xvfb');
|
|
@@ -32,7 +32,7 @@ require('commander');
|
|
|
32
32
|
require('cli-table3');
|
|
33
33
|
require('dayjs');
|
|
34
34
|
require('dayjs/plugin/relativeTime');
|
|
35
|
-
require('../spawn-
|
|
35
|
+
require('../spawn-jKQaK1f0.js');
|
|
36
36
|
require('child_process');
|
|
37
37
|
require('listr2');
|
|
38
38
|
require('readline');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var xvfb = require('./xvfb-
|
|
3
|
+
var xvfb = require('./xvfb-CzsAKhkL.js');
|
|
4
4
|
var _ = require('lodash');
|
|
5
5
|
var commander = require('commander');
|
|
6
6
|
var commonTags = require('common-tags');
|
|
@@ -13,7 +13,7 @@ var dayjs = require('dayjs');
|
|
|
13
13
|
var relativeTime = require('dayjs/plugin/relativeTime');
|
|
14
14
|
var chalk = require('chalk');
|
|
15
15
|
var Bluebird = require('bluebird');
|
|
16
|
-
var spawn = require('./spawn-
|
|
16
|
+
var spawn = require('./spawn-jKQaK1f0.js');
|
|
17
17
|
var os = require('os');
|
|
18
18
|
var listr2 = require('listr2');
|
|
19
19
|
var timers = require('timers/promises');
|
package/dist/cli.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./xvfb-
|
|
5
|
+
require('./xvfb-CzsAKhkL.js');
|
|
6
6
|
require('lodash');
|
|
7
7
|
require('commander');
|
|
8
8
|
require('common-tags');
|
|
9
9
|
require('log-symbols');
|
|
10
10
|
require('debug');
|
|
11
|
-
var cli = require('./cli-
|
|
12
|
-
require('./spawn-
|
|
11
|
+
var cli = require('./cli-D12O7C3R.js');
|
|
12
|
+
require('./spawn-jKQaK1f0.js');
|
|
13
13
|
require('os');
|
|
14
14
|
require('bluebird');
|
|
15
15
|
require('@cypress/xvfb');
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var xvfb = require('./xvfb-
|
|
3
|
+
var xvfb = require('./xvfb-CzsAKhkL.js');
|
|
4
4
|
var tmp = require('tmp');
|
|
5
5
|
var fs = require('fs-extra');
|
|
6
|
-
var cli$1 = require('./cli-
|
|
6
|
+
var cli$1 = require('./cli-D12O7C3R.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Opens Cypress GUI
|
package/dist/cypress.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./xvfb-
|
|
3
|
+
require('./xvfb-CzsAKhkL.js');
|
|
4
4
|
require('tmp');
|
|
5
5
|
require('fs-extra');
|
|
6
|
-
require('./cli-
|
|
7
|
-
var cypress = require('./cypress-
|
|
6
|
+
require('./cli-D12O7C3R.js');
|
|
7
|
+
var cypress = require('./cypress-CeosVfuM.js');
|
|
8
8
|
require('os');
|
|
9
9
|
require('bluebird');
|
|
10
10
|
require('@cypress/xvfb');
|
|
@@ -33,7 +33,7 @@ require('commander');
|
|
|
33
33
|
require('cli-table3');
|
|
34
34
|
require('dayjs');
|
|
35
35
|
require('dayjs/plugin/relativeTime');
|
|
36
|
-
require('./spawn-
|
|
36
|
+
require('./spawn-jKQaK1f0.js');
|
|
37
37
|
require('child_process');
|
|
38
38
|
require('listr2');
|
|
39
39
|
require('readline');
|
package/dist/exec/spawn.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../xvfb-
|
|
3
|
+
require('../xvfb-CzsAKhkL.js');
|
|
4
4
|
require('lodash');
|
|
5
5
|
require('os');
|
|
6
6
|
require('child_process');
|
|
7
7
|
require('path');
|
|
8
8
|
require('debug');
|
|
9
|
-
var spawn = require('../spawn-
|
|
9
|
+
var spawn = require('../spawn-jKQaK1f0.js');
|
|
10
10
|
require('readline');
|
|
11
11
|
require('process');
|
|
12
12
|
require('stream');
|
package/dist/exec/xvfb.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var xvfb = require('./xvfb-
|
|
5
|
+
var xvfb = require('./xvfb-CzsAKhkL.js');
|
|
6
6
|
var minimist = require('minimist');
|
|
7
7
|
var Debug = require('debug');
|
|
8
|
-
var cli$1 = require('./cli-
|
|
9
|
-
var spawn = require('./spawn-
|
|
10
|
-
var cypress = require('./cypress-
|
|
8
|
+
var cli$1 = require('./cli-D12O7C3R.js');
|
|
9
|
+
var spawn = require('./spawn-jKQaK1f0.js');
|
|
10
|
+
var cypress = require('./cypress-CeosVfuM.js');
|
|
11
11
|
require('os');
|
|
12
12
|
require('bluebird');
|
|
13
13
|
require('@cypress/xvfb');
|
|
@@ -26,7 +26,7 @@ var fs$1 = require('fs-extra');
|
|
|
26
26
|
var fs = require('fs');
|
|
27
27
|
var untildify = require('untildify');
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
/******************************************************************************
|
|
30
30
|
Copyright (c) Microsoft Corporation.
|
|
31
31
|
|
|
32
32
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -40,7 +40,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
40
40
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
41
41
|
PERFORMANCE OF THIS SOFTWARE.
|
|
42
42
|
***************************************************************************** */
|
|
43
|
-
/* global Reflect, Promise */
|
|
43
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
@@ -51,7 +51,12 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
51
51
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
52
52
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
53
53
|
});
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
57
|
+
var e = new Error(message);
|
|
58
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
59
|
+
};
|
|
55
60
|
|
|
56
61
|
let logs = [];
|
|
57
62
|
const logLevel = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cypress",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.20.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node dist/index.js --exec install",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@types/sinonjs__fake-timers": "8.1.1",
|
|
13
13
|
"@types/sizzle": "^2.3.2",
|
|
14
14
|
"@types/tmp": "^0.2.3",
|
|
15
|
-
"arch": "^
|
|
15
|
+
"arch": "^3.0.0",
|
|
16
16
|
"blob-util": "^2.0.2",
|
|
17
17
|
"bluebird": "^3.7.2",
|
|
18
18
|
"buffer": "^5.7.1",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"supports-color": "^8.1.1",
|
|
43
43
|
"systeminformation": "^5.31.1",
|
|
44
44
|
"tmp": "~0.2.4",
|
|
45
|
-
"tslib": "1.14.1",
|
|
46
45
|
"tree-kill": "1.2.2",
|
|
47
46
|
"untildify": "^4.0.0",
|
|
48
47
|
"yauzl": "^3.3.1"
|
|
@@ -138,8 +137,8 @@
|
|
|
138
137
|
},
|
|
139
138
|
"buildInfo": {
|
|
140
139
|
"commitBranch": "develop",
|
|
141
|
-
"commitSha": "
|
|
142
|
-
"commitDate": "2026-
|
|
140
|
+
"commitSha": "04c5deefca79efb061ef63b144ad4ebac8c3ec50",
|
|
141
|
+
"commitDate": "2026-08-04T19:18:37.000Z",
|
|
143
142
|
"stable": true
|
|
144
143
|
},
|
|
145
144
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/react/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@packages/eslint-config": "0.0.0-development",
|
|
20
20
|
"@cypress/mount-utils": "0.0.0-development",
|
|
21
|
-
"@testing-library/cypress": "10.1.
|
|
21
|
+
"@testing-library/cypress": "10.1.3",
|
|
22
22
|
"@vitejs/plugin-react": "4.6.0",
|
|
23
23
|
"axios": "^1.15.1",
|
|
24
24
|
"cypress": "0.0.0-development",
|
package/react/react/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@packages/eslint-config": "0.0.0-development",
|
|
20
20
|
"@cypress/mount-utils": "0.0.0-development",
|
|
21
|
-
"@testing-library/cypress": "10.1.
|
|
21
|
+
"@testing-library/cypress": "10.1.3",
|
|
22
22
|
"@vitejs/plugin-react": "4.6.0",
|
|
23
23
|
"axios": "^1.15.1",
|
|
24
24
|
"cypress": "0.0.0-development",
|
package/types/cy-chai.d.ts
CHANGED
|
@@ -6,6 +6,17 @@ declare namespace Chai {
|
|
|
6
6
|
html(html: string): Assertion
|
|
7
7
|
text(text: string): Assertion
|
|
8
8
|
value(text: string): Assertion
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Asserts that the target contains one of the values in the given list.
|
|
12
|
+
* Available when `.oneOf` is chained with `.contain` or `.include`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* expect('Today is sunny').to.contain.oneOf(['sunny', 'cloudy'])
|
|
16
|
+
* expect([1, 2, 3]).to.contain.oneOf([3, 4, 5])
|
|
17
|
+
* @see http://chaijs.com/api/bdd/#method_oneof
|
|
18
|
+
*/
|
|
19
|
+
oneOf(list: ReadonlyArray<any>, message?: string): Assertion
|
|
9
20
|
}
|
|
10
21
|
|
|
11
22
|
interface Assertion {
|
|
@@ -28,5 +39,35 @@ declare namespace Chai {
|
|
|
28
39
|
* @see http://chaijs.com/plugins/chai-jquery/#focus
|
|
29
40
|
*/
|
|
30
41
|
focused: Assertion
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Asserts that the target is neither `null` nor `undefined`. Alias of `.exist`.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* expect(0).to.exists
|
|
48
|
+
* expect('').to.exists
|
|
49
|
+
* @see http://chaijs.com/api/bdd/#method_exist
|
|
50
|
+
*/
|
|
51
|
+
exists: Assertion
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Asserts that the target is a number or a date greater than or equal to the
|
|
55
|
+
* given number or date. Alias of `.least` (`.gte`).
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* expect(2).to.be.greaterThanOrEqual(1)
|
|
59
|
+
* @see http://chaijs.com/api/bdd/#method_least
|
|
60
|
+
*/
|
|
61
|
+
greaterThanOrEqual: NumberComparer
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Asserts that the target is a number or a date less than or equal to the
|
|
65
|
+
* given number or date. Alias of `.most` (`.lte`).
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* expect(1).to.be.lessThanOrEqual(2)
|
|
69
|
+
* @see http://chaijs.com/api/bdd/#method_most
|
|
70
|
+
*/
|
|
71
|
+
lessThanOrEqual: NumberComparer
|
|
31
72
|
}
|
|
32
73
|
}
|
package/types/cypress.d.ts
CHANGED
|
@@ -2239,7 +2239,7 @@ declare namespace Cypress {
|
|
|
2239
2239
|
* @example
|
|
2240
2240
|
* cy.env(['KEY_1', 'KEY_2']).then(({ KEY_1, KEY_2 }) => { ... })
|
|
2241
2241
|
*/
|
|
2242
|
-
env(keys: string[]): Chainable<Record<string, any>>
|
|
2242
|
+
env(keys: string[], options?: Partial<Loggable & Timeoutable>): Chainable<Record<string, any>>
|
|
2243
2243
|
|
|
2244
2244
|
/**
|
|
2245
2245
|
* Gets multiple environment variables with a specific type.
|
|
@@ -2250,7 +2250,7 @@ declare namespace Cypress {
|
|
|
2250
2250
|
* expect(KEY_2).to.be.a('number')
|
|
2251
2251
|
* })
|
|
2252
2252
|
*/
|
|
2253
|
-
env<T extends object>(keys: string[]): Chainable<T>
|
|
2253
|
+
env<T extends object>(keys: string[], options?: Partial<Loggable & Timeoutable>): Chainable<T>
|
|
2254
2254
|
|
|
2255
2255
|
/**
|
|
2256
2256
|
* Enables you to work with the subject yielded from the previous command.
|
|
@@ -2808,7 +2808,33 @@ declare namespace Cypress {
|
|
|
2808
2808
|
|
|
2809
2809
|
type experimentalCspAllowedDirectives = 'default-src' | 'child-src' | 'frame-src' | 'script-src' | 'script-src-elem' | 'form-action'
|
|
2810
2810
|
|
|
2811
|
-
|
|
2811
|
+
/**
|
|
2812
|
+
* The same values as the native `scrollIntoView`, one axis at a time.
|
|
2813
|
+
*/
|
|
2814
|
+
type scrollBehaviorPosition = 'center' | 'start' | 'end' | 'nearest'
|
|
2815
|
+
|
|
2816
|
+
/**
|
|
2817
|
+
* A single value applied to both axes, except for `top` and `bottom`, which
|
|
2818
|
+
* align only the block (vertical) axis and leave the inline axis at the browser
|
|
2819
|
+
* default.
|
|
2820
|
+
*/
|
|
2821
|
+
type scrollBehaviorAlignment = scrollBehaviorPosition | 'top' | 'bottom'
|
|
2822
|
+
|
|
2823
|
+
/**
|
|
2824
|
+
* How an element is scrolled into view before an action command:
|
|
2825
|
+
*
|
|
2826
|
+
* - `false` disables scrolling entirely.
|
|
2827
|
+
* - An alignment aligns both axes, except `top` and `bottom`, which align only
|
|
2828
|
+
* the block axis.
|
|
2829
|
+
* - `{ block, inline }` aligns each axis separately, for example
|
|
2830
|
+
* `{ block: 'start', inline: 'nearest' }` to leave horizontal scroll positions
|
|
2831
|
+
* untouched unless the element is off screen. An axis that is left out is
|
|
2832
|
+
* aligned by `scrollIntoView`'s own default.
|
|
2833
|
+
*/
|
|
2834
|
+
type scrollBehaviorOptions = false | scrollBehaviorAlignment | {
|
|
2835
|
+
block?: scrollBehaviorPosition
|
|
2836
|
+
inline?: scrollBehaviorPosition
|
|
2837
|
+
}
|
|
2812
2838
|
|
|
2813
2839
|
/**
|
|
2814
2840
|
* Options to affect Actionability checks
|
|
@@ -3039,7 +3065,7 @@ declare namespace Cypress {
|
|
|
3039
3065
|
reporter: string
|
|
3040
3066
|
/**
|
|
3041
3067
|
* Some reporters accept [reporterOptions](https://on.cypress.io/reporters) that customize their behavior
|
|
3042
|
-
* @default
|
|
3068
|
+
* @default null
|
|
3043
3069
|
*/
|
|
3044
3070
|
reporterOptions: { [key: string]: any }
|
|
3045
3071
|
/**
|
|
@@ -3184,7 +3210,7 @@ declare namespace Cypress {
|
|
|
3184
3210
|
* Enable compression by passing true to use the default CRF of 32.
|
|
3185
3211
|
* Compress at custom CRF by passing a number between 1 and 51, where a lower value results in better quality (at the expense of a higher file size).
|
|
3186
3212
|
* Disable compression by passing false or 0.
|
|
3187
|
-
* @default
|
|
3213
|
+
* @default false
|
|
3188
3214
|
*/
|
|
3189
3215
|
videoCompression: number | boolean
|
|
3190
3216
|
/**
|
|
@@ -4299,6 +4325,16 @@ declare namespace Cypress {
|
|
|
4299
4325
|
* @see https://on.cypress.io/assertions
|
|
4300
4326
|
*/
|
|
4301
4327
|
(chainer: 'be.gte', value: number): Chainable<Subject>
|
|
4328
|
+
/**
|
|
4329
|
+
* Asserts that the target is a number or a `n` date greater than or equal to the given number or date n respectively.
|
|
4330
|
+
* However, it's often best to assert that the target is equal to its expected value.
|
|
4331
|
+
* @example
|
|
4332
|
+
* cy.wrap(6).should('be.greaterThanOrEqual', 5)
|
|
4333
|
+
* @alias least
|
|
4334
|
+
* @see http://chaijs.com/api/bdd/#method_least
|
|
4335
|
+
* @see https://on.cypress.io/assertions
|
|
4336
|
+
*/
|
|
4337
|
+
(chainer: 'be.greaterThanOrEqual', value: number): Chainable<Subject>
|
|
4302
4338
|
/**
|
|
4303
4339
|
* Asserts that the target is a number or a `n` date less than or equal to the given number or date n respectively.
|
|
4304
4340
|
* However, it's often best to assert that the target is equal to its expected value.
|
|
@@ -4329,6 +4365,16 @@ declare namespace Cypress {
|
|
|
4329
4365
|
* @see https://on.cypress.io/assertions
|
|
4330
4366
|
*/
|
|
4331
4367
|
(chainer: 'be.lte', value: number): Chainable<Subject>
|
|
4368
|
+
/**
|
|
4369
|
+
* Asserts that the target is a number or a date less than or equal to the given number or date n respectively.
|
|
4370
|
+
* However, it's often best to assert that the target is equal to its expected value.
|
|
4371
|
+
* @example
|
|
4372
|
+
* cy.wrap(4).should('be.lessThanOrEqual', 5)
|
|
4373
|
+
* @alias most
|
|
4374
|
+
* @see http://chaijs.com/api/bdd/#method_most
|
|
4375
|
+
* @see https://on.cypress.io/assertions
|
|
4376
|
+
*/
|
|
4377
|
+
(chainer: 'be.lessThanOrEqual', value: number): Chainable<Subject>
|
|
4332
4378
|
/**
|
|
4333
4379
|
* Asserts that the target is loosely (`==`) equal to `true`. However, it's often best to assert that the target is strictly (`===`) or deeply equal to its expected value.
|
|
4334
4380
|
* @example
|
|
@@ -4908,6 +4954,16 @@ declare namespace Cypress {
|
|
|
4908
4954
|
* @see https://on.cypress.io/assertions
|
|
4909
4955
|
*/
|
|
4910
4956
|
(chainer: 'not.be.gte', value: number): Chainable<Subject>
|
|
4957
|
+
/**
|
|
4958
|
+
* Asserts that the target is not a number or a `n` date greater than or equal to the given number or date n respectively.
|
|
4959
|
+
* However, it's often best to assert that the target is equal to its expected value.
|
|
4960
|
+
* @example
|
|
4961
|
+
* cy.wrap(6).should('not.be.greaterThanOrEqual', 7)
|
|
4962
|
+
* @alias least
|
|
4963
|
+
* @see http://chaijs.com/api/bdd/#method_least
|
|
4964
|
+
* @see https://on.cypress.io/assertions
|
|
4965
|
+
*/
|
|
4966
|
+
(chainer: 'not.be.greaterThanOrEqual', value: number): Chainable<Subject>
|
|
4911
4967
|
/**
|
|
4912
4968
|
* Asserts that the target is not a number or a `n` date less than or equal to the given number or date n respectively.
|
|
4913
4969
|
* However, it's often best to assert that the target is equal to its expected value.
|
|
@@ -4938,6 +4994,16 @@ declare namespace Cypress {
|
|
|
4938
4994
|
* @see https://on.cypress.io/assertions
|
|
4939
4995
|
*/
|
|
4940
4996
|
(chainer: 'not.be.lte', value: number): Chainable<Subject>
|
|
4997
|
+
/**
|
|
4998
|
+
* Asserts that the target is not a number or a date less than or equal to the given number or date n respectively.
|
|
4999
|
+
* However, it's often best to assert that the target is equal to its expected value.
|
|
5000
|
+
* @example
|
|
5001
|
+
* cy.wrap(4).should('not.be.lessThanOrEqual', 3)
|
|
5002
|
+
* @alias most
|
|
5003
|
+
* @see http://chaijs.com/api/bdd/#method_most
|
|
5004
|
+
* @see https://on.cypress.io/assertions
|
|
5005
|
+
*/
|
|
5006
|
+
(chainer: 'not.be.lessThanOrEqual', value: number): Chainable<Subject>
|
|
4941
5007
|
/**
|
|
4942
5008
|
* Asserts that the target is not loosely (`==`) equal to `true`. However, it's often best to assert that the target is strictly (`===`) or deeply equal to its expected value.
|
|
4943
5009
|
* @example
|
package/types/net-stubbing.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ type Method =
|
|
|
24
24
|
| 'PROPPATCH'
|
|
25
25
|
| 'PURGE'
|
|
26
26
|
| 'PUT'
|
|
27
|
+
// QUERY is not yet in the upstream DefinitelyTyped list; keep it when re-syncing.
|
|
28
|
+
| 'QUERY'
|
|
27
29
|
| 'REBIND'
|
|
28
30
|
| 'REPORT'
|
|
29
31
|
| 'SEARCH'
|
|
@@ -58,6 +60,7 @@ type Method =
|
|
|
58
60
|
| 'proppatch'
|
|
59
61
|
| 'purge'
|
|
60
62
|
| 'put'
|
|
63
|
+
| 'query'
|
|
61
64
|
| 'rebind'
|
|
62
65
|
| 'report'
|
|
63
66
|
| 'search'
|
|
@@ -44,7 +44,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
44
44
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
45
|
PERFORMANCE OF THIS SOFTWARE.
|
|
46
46
|
***************************************************************************** */
|
|
47
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
47
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
function __rest(s, e) {
|
|
@@ -24,7 +24,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
24
24
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
25
|
PERFORMANCE OF THIS SOFTWARE.
|
|
26
26
|
***************************************************************************** */
|
|
27
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
27
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
function __rest(s, e) {
|
|
@@ -44,7 +44,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
44
44
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
45
45
|
PERFORMANCE OF THIS SOFTWARE.
|
|
46
46
|
***************************************************************************** */
|
|
47
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
47
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
function __rest(s, e) {
|
|
@@ -24,7 +24,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
24
24
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
25
25
|
PERFORMANCE OF THIS SOFTWARE.
|
|
26
26
|
***************************************************************************** */
|
|
27
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
27
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
function __rest(s, e) {
|