Skip to content

Commit

Permalink
feat(angular): deprecate generating e2e tests with protractor (nrwl#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez authored Jul 22, 2022
1 parent 8075cb9 commit d372be0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/generated/packages/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"e2eTestRunner": {
"type": "string",
"enum": ["protractor", "cypress", "none"],
"description": "Test runner to use for end to end (E2E) tests.",
"description": "Test runner to use for end to end (E2E) tests. The `protractor` option is deprecated and it will be removed in v15.",
"default": "cypress"
},
"tags": {
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/src/generators/application/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"e2eTestRunner": {
"type": "string",
"enum": ["protractor", "cypress", "none"],
"description": "Test runner to use for end to end (E2E) tests.",
"description": "Test runner to use for end to end (E2E) tests. The `protractor` option is deprecated and it will be removed in v15.",
"default": "cypress"
},
"tags": {
Expand Down
4 changes: 4 additions & 0 deletions packages/angular/src/utils/test-runners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ export const enum UnitTestRunner {
None = 'none',
}
export const enum E2eTestRunner {
/**
* @deprecated Protractor is no longer maintained. Support for generating
* E2E tests with it will be removed in v15.
*/
Protractor = 'protractor',
Cypress = 'cypress',
None = 'none',
Expand Down

0 comments on commit d372be0

Please sign in to comment.