@nrwl/cypress 15.4.5 → 15.4.6
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/CHANGELOG.md +1 -1
- package/LICENSE +22 -22
- package/migrations.json +6 -0
- package/package.json +6 -6
- package/src/generators/migrate-to-cypress-11/migrate-to-cypress-11.js +1 -2
- package/src/generators/migrate-to-cypress-11/migrate-to-cypress-11.js.map +1 -1
- package/src/migrations/update-15-5-0/helpers.d.ts +3 -0
- package/src/migrations/update-15-5-0/helpers.js +40 -0
- package/src/migrations/update-15-5-0/helpers.js.map +1 -0
- package/src/migrations/update-15-5-0/update-to-cypress-12.d.ts +24 -0
- package/src/migrations/update-15-5-0/update-to-cypress-12.js +183 -0
- package/src/migrations/update-15-5-0/update-to-cypress-12.js.map +1 -0
- package/src/utils/versions.d.ts +1 -1
- package/src/utils/versions.js +2 -2
- package/src/utils/versions.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [15.4.
|
|
6
|
+
## [15.4.6](https://github.com/nrwl/nx/compare/15.4.5...15.4.6) (2023-01-12)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/cypress
|
package/LICENSE
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
(The MIT License)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017-
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
-
a copy of this software and associated documentation files (the
|
|
7
|
-
'Software'), to deal in the Software without restriction, including
|
|
8
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
-
the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be
|
|
14
|
-
included in all copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-2023 Narwhal Technologies Inc.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/migrations.json
CHANGED
|
@@ -35,6 +35,12 @@
|
|
|
35
35
|
"version": "15.1.0-beta.0",
|
|
36
36
|
"description": "Update to Cypress v11. This migration will only update if the workspace is already on v10. https://www.cypress.io/blog/2022/11/04/upcoming-changes-to-component-testing/",
|
|
37
37
|
"factory": "./src/migrations/update-15-1-0/cypress-11"
|
|
38
|
+
},
|
|
39
|
+
"update-to-cypress-12": {
|
|
40
|
+
"cli": "nx",
|
|
41
|
+
"version": "15.5.0-beta.0",
|
|
42
|
+
"description": "Update to Cypress v12. Cypress 12 contains a handful of breaking changes that might causes tests to start failing that nx cannot directly fix. Read more Cypress 12 changes: https://docs.cypress.io/guides/references/migration-guide#Migrating-to-Cypress-12-0.This migration will only run if you are already using Cypress v11.",
|
|
43
|
+
"factory": "./src/migrations/update-15-5-0/update-to-cypress-12"
|
|
38
44
|
}
|
|
39
45
|
},
|
|
40
46
|
"packageJsonUpdates": {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/cypress",
|
|
3
|
-
"version": "15.4.
|
|
3
|
+
"version": "15.4.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "The Nx Plugin for Cypress contains executors and generators allowing your workspace to use the powerful Cypress integration testing capabilities.",
|
|
6
6
|
"repository": {
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"migrations": "./migrations.json"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nrwl/devkit": "15.4.
|
|
38
|
-
"@nrwl/linter": "15.4.
|
|
39
|
-
"@nrwl/workspace": "15.4.
|
|
37
|
+
"@nrwl/devkit": "15.4.6",
|
|
38
|
+
"@nrwl/linter": "15.4.6",
|
|
39
|
+
"@nrwl/workspace": "15.4.6",
|
|
40
40
|
"@phenomnomnominal/tsquery": "4.1.1",
|
|
41
41
|
"chalk": "4.1.0",
|
|
42
42
|
"dotenv": "~10.0.0",
|
|
43
43
|
"semver": "7.3.4"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"cypress": ">= 3 <
|
|
46
|
+
"cypress": ">= 3 < 13"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"cypress": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"types": "./index.d.ts",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "38bc77e8ecc42de9225eb498027558c85c10e21a"
|
|
58
58
|
}
|
|
@@ -5,7 +5,6 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const cypress_version_1 = require("@nrwl/cypress/src/utils/cypress-version");
|
|
6
6
|
const devkit_1 = require("@nrwl/devkit");
|
|
7
7
|
const executor_options_utils_1 = require("@nrwl/workspace/src/utilities/executor-options-utils");
|
|
8
|
-
const versions_1 = require("../../utils/versions");
|
|
9
8
|
const conversion_util_1 = require("./conversion.util");
|
|
10
9
|
function migrateCypressProject(tree) {
|
|
11
10
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -64,7 +63,7 @@ https://nx.dev/cypress/v10-migration-guide
|
|
|
64
63
|
}
|
|
65
64
|
});
|
|
66
65
|
(0, devkit_1.updateJson)(tree, 'package.json', (json) => {
|
|
67
|
-
json.devDependencies['cypress'] =
|
|
66
|
+
json.devDependencies['cypress'] = '^11.2.0';
|
|
68
67
|
return json;
|
|
69
68
|
});
|
|
70
69
|
yield (0, devkit_1.formatFiles)(tree);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate-to-cypress-11.js","sourceRoot":"","sources":["../../../../../../packages/cypress/src/generators/migrate-to-cypress-11/migrate-to-cypress-11.ts"],"names":[],"mappings":";;;;AAAA,6EAGiD;AACjD,yCAUsB;AACtB,iGAA8F;
|
|
1
|
+
{"version":3,"file":"migrate-to-cypress-11.js","sourceRoot":"","sources":["../../../../../../packages/cypress/src/generators/migrate-to-cypress-11/migrate-to-cypress-11.ts"],"names":[],"mappings":";;;;AAAA,6EAGiD;AACjD,yCAUsB;AACtB,iGAA8F;AAG9F,uDAO2B;AAE3B,SAAsB,qBAAqB,CAAC,IAAU;;QACpD,IAAA,6CAA2B,EAAC,CAAC,CAAC,CAAC;QAC/B,IAAI,IAAA,yCAAuB,GAAE,IAAI,EAAE,EAAE;YACnC,eAAM,CAAC,IAAI,CAAC,iDAAiD,CAAC,CAAC;YAC/D,OAAO;SACR;QACD,mEAAmE;QACnE,gDAAgD;QAChD,oEAAoE;QACpE,MAAM,sBAAsB,GAAG,IAAI,GAAG,EAGnC,CAAC;QAEJ,IAAA,+CAAsB,EACpB,IAAI,EACJ,uBAAuB,EACvB,CAAC,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE;;YACnD,IAAI;gBACF,MAAM,aAAa,GAAG,IAAA,iCAAwB,EAAC,IAAI,EAAE,WAAW,CAAC,CAAC;gBAElE,MAAM,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,GAClD,IAAA,oCAAkB,EAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;gBAEjE,IAAI,CAAC,qBAAqB,IAAI,CAAC,mBAAmB,EAAE;oBAClD,OAAO;iBACR;gBACD,oEAAoE;gBACpE,IACE,IAAI,CAAC,MAAM,CAAC,qBAAqB,CAAC;oBAClC,CAAC,IAAI,CAAC,MAAM,CAAC,mBAAmB,CAAC,EACjC;oBACA,IAAI,cAAc,GAAG,IAAA,wCAAsB,EACzC,IAAI,EACJ,aAAa,EACb,qBAAqB,CACtB,CAAC;oBACF,c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,CAAC,OAAO,KACxC,aAAa,EAAE,mBAAmB,GACnC,CAAC;qBACH;oBAED,aAAa,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,WAAW,GAAG,KAAK,CAAC;oBAE1D,IAAA,mCAA0B,EAAC,IAAI,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;iBAC9D;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,eAAM,CAAC,KAAK,CAAC,IAAA,qBAAY,EAAA;mCACE,WAAW,IAAI,MAAM;;;GAGrD,CAAC,CAAC;gBACG,MAAM,CAAC,CAAC;aACT;QACH,CAAC,CACF,CAAC;QAEF,IAAA,mBAAU,EAAC,IAAI,EAAE,cAAc,EAAE,CAAC,IAAI,EAAE,EAAE;YACxC,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;YAC5C,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QAEH,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAExB,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE;YAC/B,eAAM,CAAC,IAAI,CAAC,IAAA,qBAAY,EAAA;;;;;KAKvB,CAAC,CAAC;SACJ;QACD,OAAO,GAAG,EAAE;YACV,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;QAC5B,CAAC,CAAC;IACJ,CAAC;CAAA;AAhHD,sDAgHC;AAED,kBAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BANNED_COMMANDS = exports.isAlreadyCommented = void 0;
|
|
4
|
+
function isAlreadyCommented(node) {
|
|
5
|
+
return node.getFullText().includes('TODO(@nrwl/cypress)');
|
|
6
|
+
}
|
|
7
|
+
exports.isAlreadyCommented = isAlreadyCommented;
|
|
8
|
+
exports.BANNED_COMMANDS = [
|
|
9
|
+
'as',
|
|
10
|
+
'children',
|
|
11
|
+
'closest',
|
|
12
|
+
'contains',
|
|
13
|
+
'debug',
|
|
14
|
+
'document',
|
|
15
|
+
'eq',
|
|
16
|
+
'filter',
|
|
17
|
+
'find',
|
|
18
|
+
'first',
|
|
19
|
+
'focused',
|
|
20
|
+
'get',
|
|
21
|
+
'hash',
|
|
22
|
+
'its',
|
|
23
|
+
'last',
|
|
24
|
+
'location',
|
|
25
|
+
'next',
|
|
26
|
+
'nextAll',
|
|
27
|
+
'not',
|
|
28
|
+
'parent',
|
|
29
|
+
'parents',
|
|
30
|
+
'parentsUntil',
|
|
31
|
+
'prev',
|
|
32
|
+
'prevUntil',
|
|
33
|
+
'root',
|
|
34
|
+
'shadow',
|
|
35
|
+
'siblings',
|
|
36
|
+
'title',
|
|
37
|
+
'url',
|
|
38
|
+
'window',
|
|
39
|
+
];
|
|
40
|
+
//# sourceMappingURL=helpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../../../../../packages/cypress/src/migrations/update-15-5-0/helpers.ts"],"names":[],"mappings":";;;AAEA,SAAgB,kBAAkB,CAAC,IAAU;IAC3C,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAC5D,CAAC;AAFD,gDAEC;AAEY,QAAA,eAAe,GAAG;IAC7B,IAAI;IACJ,UAAU;IACV,SAAS;IACT,UAAU;IACV,OAAO;IACP,UAAU;IACV,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,OAAO;IACP,SAAS;IACT,KAAK;IACL,MAAM;IACN,KAAK;IACL,MAAM;IACN,UAAU;IACV,MAAM;IACN,SAAS;IACT,KAAK;IACL,QAAQ;IACR,SAAS;IACT,cAAc;IACd,MAAM;IACN,WAAW;IACX,MAAM;IACN,QAAQ;IACR,UAAU;IACV,OAAO;IACP,KAAK;IACL,QAAQ;CACT,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Tree, GeneratorCallback } from '@nrwl/devkit';
|
|
2
|
+
export declare function updateToCypress12(tree: Tree): GeneratorCallback;
|
|
3
|
+
export declare function turnOffTestIsolation(tree: Tree, configPath: string): void;
|
|
4
|
+
/**
|
|
5
|
+
* Leave a comment on all apis that have been removed andsuperseded by cy.intercept
|
|
6
|
+
* stating they these API are now removed and need to update.
|
|
7
|
+
* cy.route, cy.server, Cypress.Server.defaults
|
|
8
|
+
**/
|
|
9
|
+
export declare function shouldUseCyIntercept(tree: Tree, filePath: string): void;
|
|
10
|
+
/**
|
|
11
|
+
* Leave a comment on all apis that have been removed and superseded by cy.session
|
|
12
|
+
* stating they these API are now removed and need to update.
|
|
13
|
+
* Cypress.Cookies.defaults & Cypress.Cookies.preserveOnce
|
|
14
|
+
**/
|
|
15
|
+
export declare function shouldUseCySession(tree: Tree, filePath: string): void;
|
|
16
|
+
/**
|
|
17
|
+
* leave a comment about nested cy commands in a cy.should callback
|
|
18
|
+
* */
|
|
19
|
+
export declare function shouldNotUseCyInShouldCB(tree: Tree, filePath: string): void;
|
|
20
|
+
/**
|
|
21
|
+
* leave a comment on all usages of overriding built-ins that are now banned
|
|
22
|
+
* */
|
|
23
|
+
export declare function shouldNotOverrideCommands(tree: Tree, filePath: string): void;
|
|
24
|
+
export default updateToCypress12;
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shouldNotOverrideCommands = exports.shouldNotUseCyInShouldCB = exports.shouldUseCySession = exports.shouldUseCyIntercept = exports.turnOffTestIsolation = exports.updateToCypress12 = void 0;
|
|
4
|
+
const devkit_1 = require("@nrwl/devkit");
|
|
5
|
+
const executor_options_utils_1 = require("@nrwl/workspace/src/utilities/executor-options-utils");
|
|
6
|
+
const tsquery_1 = require("@phenomnomnominal/tsquery");
|
|
7
|
+
const typescript_1 = require("typescript");
|
|
8
|
+
const cypress_version_1 = require("../../utils/cypress-version");
|
|
9
|
+
const helpers_1 = require("./helpers");
|
|
10
|
+
const JS_TS_FILE_MATCHER = /\.[jt]sx?$/;
|
|
11
|
+
function updateToCypress12(tree) {
|
|
12
|
+
if ((0, cypress_version_1.installedCypressVersion)() < 11) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
const projects = (0, devkit_1.getProjects)(tree);
|
|
16
|
+
(0, executor_options_utils_1.forEachExecutorOptions)(tree, '@nrwl/cypress:cypress', (options, projectName, targetName, configName) => {
|
|
17
|
+
if (!(options.cypressConfig && tree.exists(options.cypressConfig))) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const projectConfig = projects.get(projectName);
|
|
21
|
+
turnOffTestIsolation(tree, options.cypressConfig);
|
|
22
|
+
(0, devkit_1.visitNotIgnoredFiles)(tree, projectConfig.root, (filePath) => {
|
|
23
|
+
if (!JS_TS_FILE_MATCHER.test(filePath)) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
shouldUseCyIntercept(tree, filePath);
|
|
27
|
+
shouldUseCySession(tree, filePath);
|
|
28
|
+
shouldNotUseCyInShouldCB(tree, filePath);
|
|
29
|
+
shouldNotOverrideCommands(tree, filePath);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
console.warn((0, devkit_1.stripIndents) `Cypress 12 has lots of breaking changes that might subility break your tests.
|
|
33
|
+
This migration marked known issues that need to be manually migrated,
|
|
34
|
+
but there can still be runtime based errors that were not detected.
|
|
35
|
+
Please consult the offical Cypress v12 migration guide for more info on these changes and the next steps.
|
|
36
|
+
https://docs.cypress.io/guides/references/migration-guide
|
|
37
|
+
`);
|
|
38
|
+
(0, devkit_1.updateJson)(tree, 'package.json', (json) => {
|
|
39
|
+
json.devDependencies.cypress = '^12.2.0';
|
|
40
|
+
return json;
|
|
41
|
+
});
|
|
42
|
+
return () => {
|
|
43
|
+
(0, devkit_1.installPackagesTask)(tree);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.updateToCypress12 = updateToCypress12;
|
|
47
|
+
function turnOffTestIsolation(tree, configPath) {
|
|
48
|
+
const config = tree.read(configPath, 'utf-8');
|
|
49
|
+
const isTestIsolationSet = tsquery_1.tsquery.query(config, 'ExportAssignment ObjectLiteralExpression > PropertyAssignment:has(Identifier[name="testIsolation"])');
|
|
50
|
+
if (isTestIsolationSet.length > 0) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
const testIsolationProperty = `/**
|
|
54
|
+
* TODO(@nrwl/cypress): In Cypress v12,the testIsolation option is turned on by default.
|
|
55
|
+
* This can cause tests to start breaking where not indended.
|
|
56
|
+
* You should consider enabling this once you verify tests do not depend on each other
|
|
57
|
+
* More Info: https://docs.cypress.io/guides/references/migration-guide#Test-Isolation
|
|
58
|
+
**/
|
|
59
|
+
testIsolation: false,`;
|
|
60
|
+
const updated = tsquery_1.tsquery.replace(config, 'ExportAssignment ObjectLiteralExpression > PropertyAssignment:has(Identifier[name="e2e"])', (node) => {
|
|
61
|
+
if ((0, typescript_1.isObjectLiteralExpression)(node.initializer)) {
|
|
62
|
+
const listOfProperties = node.initializer.properties
|
|
63
|
+
.map((j) => j.getText())
|
|
64
|
+
.join(',\n ');
|
|
65
|
+
return `e2e: {
|
|
66
|
+
${listOfProperties},
|
|
67
|
+
${testIsolationProperty}
|
|
68
|
+
}`;
|
|
69
|
+
}
|
|
70
|
+
return `e2e: {
|
|
71
|
+
...${node.initializer.getText()},
|
|
72
|
+
${testIsolationProperty}
|
|
73
|
+
}`;
|
|
74
|
+
});
|
|
75
|
+
tree.write(configPath, updated);
|
|
76
|
+
}
|
|
77
|
+
exports.turnOffTestIsolation = turnOffTestIsolation;
|
|
78
|
+
/**
|
|
79
|
+
* Leave a comment on all apis that have been removed andsuperseded by cy.intercept
|
|
80
|
+
* stating they these API are now removed and need to update.
|
|
81
|
+
* cy.route, cy.server, Cypress.Server.defaults
|
|
82
|
+
**/
|
|
83
|
+
function shouldUseCyIntercept(tree, filePath) {
|
|
84
|
+
const content = tree.read(filePath, 'utf-8');
|
|
85
|
+
const markedRemovedCommands = tsquery_1.tsquery.replace(content, ':matches(PropertyAccessExpression:has(Identifier[name="cy"]):has(Identifier[name="server"], Identifier[name="route"]), PropertyAccessExpression:has(Identifier[name="defaults"]):has(Identifier[name="Cypress"], Identifier[name="Server"]))', (node) => {
|
|
86
|
+
if ((0, helpers_1.isAlreadyCommented)(node)) {
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
const expression = node.expression.getText().trim();
|
|
90
|
+
// prevent extra chaining i.e. cy.route().as() will return 2 results
|
|
91
|
+
// cy.route and cy.route().as
|
|
92
|
+
// only need the first 1 so skip any extra chaining
|
|
93
|
+
if (expression === 'cy' || expression === 'Cypress.Server') {
|
|
94
|
+
return `// TODO(@nrwl/cypress): this command has been removed, use cy.intercept instead. https://docs.cypress.io/guides/references/migration-guide#cy-server-cy-route-and-Cypress-Server-defaults
|
|
95
|
+
${node.getText()}`;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
tree.write(filePath, markedRemovedCommands);
|
|
99
|
+
}
|
|
100
|
+
exports.shouldUseCyIntercept = shouldUseCyIntercept;
|
|
101
|
+
/**
|
|
102
|
+
* Leave a comment on all apis that have been removed and superseded by cy.session
|
|
103
|
+
* stating they these API are now removed and need to update.
|
|
104
|
+
* Cypress.Cookies.defaults & Cypress.Cookies.preserveOnce
|
|
105
|
+
**/
|
|
106
|
+
function shouldUseCySession(tree, filePath) {
|
|
107
|
+
const content = tree.read(filePath, 'utf-8');
|
|
108
|
+
const markedRemovedCommands = tsquery_1.tsquery.replace(content, ':matches(PropertyAccessExpression:has(Identifier[name="defaults"]):has(Identifier[name="Cypress"], Identifier[name="Cookies"]), PropertyAccessExpression:has(Identifier[name="preserveOnce"]):has(Identifier[name="Cypress"], Identifier[name="Cookies"]))', (node) => {
|
|
109
|
+
if ((0, helpers_1.isAlreadyCommented)(node)) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const expression = node.expression.getText().trim();
|
|
113
|
+
// prevent grabbing other Cypress.<something>.defaults
|
|
114
|
+
if (expression === 'Cypress.Cookies') {
|
|
115
|
+
return `// TODO(@nrwl/cypress): this command has been removed, use cy.session instead. https://docs.cypress.io/guides/references/migration-guide#Command-Cypress-API-Changes
|
|
116
|
+
${node.getText()}`;
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
tree.write(filePath, markedRemovedCommands);
|
|
120
|
+
}
|
|
121
|
+
exports.shouldUseCySession = shouldUseCySession;
|
|
122
|
+
/**
|
|
123
|
+
* leave a comment about nested cy commands in a cy.should callback
|
|
124
|
+
* */
|
|
125
|
+
function shouldNotUseCyInShouldCB(tree, filePath) {
|
|
126
|
+
const content = tree.read(filePath, 'utf-8');
|
|
127
|
+
const markedNestedCyCommands = tsquery_1.tsquery.replace(content, 'CallExpression > PropertyAccessExpression:has(Identifier[name="cy"]):has(Identifier[name="should"])', (node) => {
|
|
128
|
+
var _a, _b;
|
|
129
|
+
if ((0, helpers_1.isAlreadyCommented)(node) ||
|
|
130
|
+
(node.parent && !(0, typescript_1.isCallExpression)(node.parent))) {
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const parentExpression = node.parent;
|
|
134
|
+
if (((_a = parentExpression === null || parentExpression === void 0 ? void 0 : parentExpression.arguments) === null || _a === void 0 ? void 0 : _a[0]) &&
|
|
135
|
+
((0, typescript_1.isArrowFunction)(parentExpression.arguments[0]) ||
|
|
136
|
+
(0, typescript_1.isFunctionExpression)(parentExpression.arguments[0]))) {
|
|
137
|
+
const isUsingNestedCyCommand = ((_b = tsquery_1.tsquery.query(parentExpression.arguments[0], 'CallExpression > PropertyAccessExpression:has(Identifier[name="cy"])')) === null || _b === void 0 ? void 0 : _b.length) > 0;
|
|
138
|
+
if (isUsingNestedCyCommand) {
|
|
139
|
+
return `/**
|
|
140
|
+
* TODO(@nrwl/cypress): Nesting Cypress commands in a should assertion now throws.
|
|
141
|
+
* You should use .then() to chain commands instead.
|
|
142
|
+
* More Info: https://docs.cypress.io/guides/references/migration-guide#-should
|
|
143
|
+
**/
|
|
144
|
+
${node.getText()}`;
|
|
145
|
+
}
|
|
146
|
+
return node.getText();
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
tree.write(filePath, markedNestedCyCommands);
|
|
150
|
+
}
|
|
151
|
+
exports.shouldNotUseCyInShouldCB = shouldNotUseCyInShouldCB;
|
|
152
|
+
/**
|
|
153
|
+
* leave a comment on all usages of overriding built-ins that are now banned
|
|
154
|
+
* */
|
|
155
|
+
function shouldNotOverrideCommands(tree, filePath) {
|
|
156
|
+
const content = tree.read(filePath, 'utf-8');
|
|
157
|
+
const markedOverrideUsage = tsquery_1.tsquery.replace(content, 'PropertyAccessExpression:has(Identifier[name="overwrite"]):has(Identifier[name="Cypress"])', (node) => {
|
|
158
|
+
var _a, _b;
|
|
159
|
+
if ((0, helpers_1.isAlreadyCommented)(node)) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
const expression = node.expression.getText().trim();
|
|
163
|
+
// prevent grabbing other Cypress.<something>.defaults
|
|
164
|
+
if (expression === 'Cypress.Commands') {
|
|
165
|
+
// get value.
|
|
166
|
+
const overwriteExpression = node.parent;
|
|
167
|
+
const command = (_b = (_a = overwriteExpression.arguments) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.text; // need string without quotes
|
|
168
|
+
if (helpers_1.BANNED_COMMANDS.includes(command)) {
|
|
169
|
+
// overwrite
|
|
170
|
+
return `/**
|
|
171
|
+
* TODO(@nrwl/cypress): This command can no longer be overridden
|
|
172
|
+
* Consider using a different name like 'custom_${command}'
|
|
173
|
+
* More info: https://docs.cypress.io/guides/references/migration-guide#Cypress-Commands-overwrite
|
|
174
|
+
**/
|
|
175
|
+
${node.getText()}`;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
tree.write(filePath, markedOverrideUsage);
|
|
180
|
+
}
|
|
181
|
+
exports.shouldNotOverrideCommands = shouldNotOverrideCommands;
|
|
182
|
+
exports.default = updateToCypress12;
|
|
183
|
+
//# sourceMappingURL=update-to-cypress-12.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-to-cypress-12.js","sourceRoot":"","sources":["../../../../../../packages/cypress/src/migrations/update-15-5-0/update-to-cypress-12.ts"],"names":[],"mappings":";;;AAAA,yCAQsB;AACtB,iGAA8F;AAC9F,uDAAoD;AACpD,2CAQoB;AAEpB,iEAAsE;AACtE,uCAAgE;AAEhE,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAExC,SAAgB,iBAAiB,CAAC,IAAU;IAC1C,IAAI,IAAA,yCAAuB,GAAE,GAAG,EAAE,EAAE;QAClC,OAAO;KACR;IACD,MAAM,QAAQ,GAAG,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;IAEnC,IAAA,+CAAsB,EACpB,IAAI,EACJ,uBAAuB,EACvB,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,EAAE;QAC/C,IAAI,CAAC,CAAC,OAAO,CAAC,aAAa,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,EAAE;YAClE,OAAO;SACR;QACD,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAChD,oBAAoB,CAAC,IAAI,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;QAElD,IAAA,6BAAoB,EAAC,IAAI,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,EAAE;YAC1D,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;gBACtC,OAAO;aACR;YACD,oBAAoB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YACrC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YACnC,wBAAwB,CAAC,IA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SACvB;IACH,CAAC,CACF,CAAC;IAEF,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,sBAAsB,CAAC,CAAC;AAC/C,CAAC;AArCD,4DAqCC;AAED;;KAEK;AACL,SAAgB,yBAAyB,CAAC,IAAU,EAAE,QAAgB;IACpE,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAC7C,MAAM,mBAAmB,GAAG,iBAAO,CAAC,OAAO,CACzC,OAAO,EACP,4FAA4F,EAC5F,CAAC,IAA8B,EAAE,EAAE;;QACjC,IAAI,IAAA,4BAAkB,EAAC,IAAI,CAAC,EAAE;YAC5B,OAAO;SACR;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC;QACpD,sDAAsD;QAEtD,IAAI,UAAU,KAAK,kBAAkB,EAAE;YACrC,aAAa;YACb,MAAM,mBAAmB,GAAG,IAAI,CAAC,MAAwB,CAAC;YAE1D,MAAM,OAAO,GAAG,MAAC,MAAA,mBAAmB,CAAC,SAAS,0CAAG,CAAC,CAAS,0CAAE,IAAI,CAAC,CAAC,6BAA6B;YAChG,IAAI,yBAAe,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;gBACrC,YAAY;gBACZ,OAAO;;iDAEgC,OAAO;;;EAGtD,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;aACV;SACF;IACH,CAAC,CACF,CAAC;IAEF,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,mBAAmB,CAAC,CAAC;AAC5C,CAAC;AA/BD,8DA+BC;AAED,kBAAe,iBAAiB,CAAC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const nxVersion: any;
|
|
2
2
|
export declare const eslintPluginCypressVersion = "^2.10.3";
|
|
3
3
|
export declare const typesNodeVersion = "16.11.7";
|
|
4
|
-
export declare const cypressVersion = "^11.0.0";
|
|
5
4
|
export declare const cypressViteDevServerVersion = "^2.2.1";
|
|
5
|
+
export declare const cypressVersion = "^12.2.0";
|
|
6
6
|
export declare const cypressWebpackVersion = "^2.0.0";
|
|
7
7
|
export declare const webpackHttpPluginVersion = "^5.5.0";
|
|
8
8
|
export declare const viteVersion = "^4.0.1";
|
package/src/utils/versions.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.htmlWebpackPluginVersion = exports.viteVersion = exports.webpackHttpPluginVersion = exports.cypressWebpackVersion = exports.
|
|
3
|
+
exports.htmlWebpackPluginVersion = exports.viteVersion = exports.webpackHttpPluginVersion = exports.cypressWebpackVersion = exports.cypressVersion = exports.cypressViteDevServerVersion = exports.typesNodeVersion = exports.eslintPluginCypressVersion = exports.nxVersion = void 0;
|
|
4
4
|
exports.nxVersion = require('../../package.json').version;
|
|
5
5
|
exports.eslintPluginCypressVersion = '^2.10.3';
|
|
6
6
|
exports.typesNodeVersion = '16.11.7';
|
|
7
|
-
exports.cypressVersion = '^11.0.0';
|
|
8
7
|
exports.cypressViteDevServerVersion = '^2.2.1';
|
|
8
|
+
exports.cypressVersion = '^12.2.0';
|
|
9
9
|
exports.cypressWebpackVersion = '^2.0.0';
|
|
10
10
|
exports.webpackHttpPluginVersion = '^5.5.0';
|
|
11
11
|
exports.viteVersion = '^4.0.1';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/cypress/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAClD,QAAA,0BAA0B,GAAG,SAAS,CAAC;AACvC,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAC7B,QAAA,
|
|
1
|
+
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/cypress/src/utils/versions.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAClD,QAAA,0BAA0B,GAAG,SAAS,CAAC;AACvC,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAC7B,QAAA,2BAA2B,GAAG,QAAQ,CAAC;AACvC,QAAA,cAAc,GAAG,SAAS,CAAC;AAC3B,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AACjC,QAAA,wBAAwB,GAAG,QAAQ,CAAC;AACpC,QAAA,WAAW,GAAG,QAAQ,CAAC;AACvB,QAAA,wBAAwB,GAAG,QAAQ,CAAC"}
|