cypress 15.18.0 → 15.18.1
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/dist/bin/cypress +2 -2
- package/dist/{cli-B5v_kZB5.js → cli-MLF6G_xs.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{cypress-B9M6be62.js → cypress-9PxR1qmG.js} +1 -1
- package/dist/cypress.js +3 -3
- package/dist/exec/spawn.js +1 -1
- package/dist/index.js +3 -3
- package/dist/{spawn-Cnrq9zm4.js → spawn-DB1Wbiwy.js} +1 -5
- package/package.json +3 -3
- package/types/cy-chai.d.ts +22 -0
- package/types/cypress.d.ts +1 -1
package/dist/bin/cypress
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var cli = require('../cli-
|
|
4
|
+
var cli = require('../cli-MLF6G_xs.js');
|
|
5
5
|
require('../xvfb-CqCqXRC-.js');
|
|
6
6
|
require('os');
|
|
7
7
|
require('bluebird');
|
|
@@ -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-DB1Wbiwy.js');
|
|
36
36
|
require('child_process');
|
|
37
37
|
require('listr2');
|
|
38
38
|
require('readline');
|
|
@@ -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-DB1Wbiwy.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
|
@@ -8,8 +8,8 @@ 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-MLF6G_xs.js');
|
|
12
|
+
require('./spawn-DB1Wbiwy.js');
|
|
13
13
|
require('os');
|
|
14
14
|
require('bluebird');
|
|
15
15
|
require('@cypress/xvfb');
|
package/dist/cypress.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
require('./xvfb-CqCqXRC-.js');
|
|
4
4
|
require('tmp');
|
|
5
5
|
require('fs-extra');
|
|
6
|
-
require('./cli-
|
|
7
|
-
var cypress = require('./cypress-
|
|
6
|
+
require('./cli-MLF6G_xs.js');
|
|
7
|
+
var cypress = require('./cypress-9PxR1qmG.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-DB1Wbiwy.js');
|
|
37
37
|
require('child_process');
|
|
38
38
|
require('listr2');
|
|
39
39
|
require('readline');
|
package/dist/exec/spawn.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var xvfb = require('./xvfb-CqCqXRC-.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-MLF6G_xs.js');
|
|
9
|
+
var spawn = require('./spawn-DB1Wbiwy.js');
|
|
10
|
+
var cypress = require('./cypress-9PxR1qmG.js');
|
|
11
11
|
require('os');
|
|
12
12
|
require('bluebird');
|
|
13
13
|
require('@cypress/xvfb');
|
|
@@ -9,7 +9,6 @@ var Debug = require('debug');
|
|
|
9
9
|
var chalk = require('chalk');
|
|
10
10
|
var listr2 = require('listr2');
|
|
11
11
|
var commonTags = require('common-tags');
|
|
12
|
-
var Bluebird = require('bluebird');
|
|
13
12
|
var logSymbols = require('log-symbols');
|
|
14
13
|
var readline = require('readline');
|
|
15
14
|
var process$1 = require('process');
|
|
@@ -163,10 +162,7 @@ function verifyBinary(installedVersion, binaryDir, options) {
|
|
|
163
162
|
task: (ctx, task) => xvfb.__awaiter(this, void 0, void 0, function* () {
|
|
164
163
|
debug$1('clearing out the verified version');
|
|
165
164
|
yield xvfb.stateModule.clearBinaryStateAsync(binaryDir);
|
|
166
|
-
yield
|
|
167
|
-
runSmokeTest(binaryDir, options),
|
|
168
|
-
Bluebird.delay(1500), // good user experience
|
|
169
|
-
]);
|
|
165
|
+
yield runSmokeTest(binaryDir, options);
|
|
170
166
|
debug$1('write verified: true');
|
|
171
167
|
yield xvfb.stateModule.writeBinaryVerifiedAsync(true, binaryDir);
|
|
172
168
|
task.title = xvfb.util.titleize(chalk.green('Verified Cypress!'), chalk.gray(binaryDir));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cypress",
|
|
3
|
-
"version": "15.18.
|
|
3
|
+
"version": "15.18.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"postinstall": "node dist/index.js --exec install",
|
|
@@ -138,8 +138,8 @@
|
|
|
138
138
|
},
|
|
139
139
|
"buildInfo": {
|
|
140
140
|
"commitBranch": "develop",
|
|
141
|
-
"commitSha": "
|
|
142
|
-
"commitDate": "2026-
|
|
141
|
+
"commitSha": "6ff266f1070ec57678cb12917d614dd236fa9823",
|
|
142
|
+
"commitDate": "2026-07-07T02:41:48.000Z",
|
|
143
143
|
"stable": true
|
|
144
144
|
},
|
|
145
145
|
"description": "Cypress is a next generation front end testing tool built for the modern web",
|
package/types/cy-chai.d.ts
CHANGED
|
@@ -7,4 +7,26 @@ declare namespace Chai {
|
|
|
7
7
|
text(text: string): Assertion
|
|
8
8
|
value(text: string): Assertion
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
interface Assertion {
|
|
12
|
+
/**
|
|
13
|
+
* Assert that at least one element of the selection is focused.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* expect($('#result')).to.have.focus
|
|
17
|
+
* expect($('#result')).to.be.focused
|
|
18
|
+
* @see http://chaijs.com/plugins/chai-jquery/#focus
|
|
19
|
+
*/
|
|
20
|
+
focus: Assertion
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Assert that at least one element of the selection is focused.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* expect($('#result')).to.be.focused
|
|
27
|
+
* expect($('#result')).to.have.focus
|
|
28
|
+
* @see http://chaijs.com/plugins/chai-jquery/#focus
|
|
29
|
+
*/
|
|
30
|
+
focused: Assertion
|
|
31
|
+
}
|
|
10
32
|
}
|
package/types/cypress.d.ts
CHANGED
|
@@ -4053,7 +4053,7 @@ declare namespace Cypress {
|
|
|
4053
4053
|
method: 'GET' | 'POST'
|
|
4054
4054
|
|
|
4055
4055
|
/**
|
|
4056
|
-
* An optional body to send along with a `POST` request. If it is a string, it will be passed along unmodified. If it is an object, it will be URL encoded to a string and sent with a `Content-Type: application/x-www-urlencoded` header.
|
|
4056
|
+
* An optional body to send along with a `POST` request. If it is a string, it will be passed along unmodified. If it is an object, it will be URL encoded to a string and sent with a `Content-Type: application/x-www-form-urlencoded` header.
|
|
4057
4057
|
*
|
|
4058
4058
|
* @example
|
|
4059
4059
|
* cy.visit({
|