feat(angular): deprecate generating e2e tests with protractor (#11254)

This commit is contained in:
Leosvel Pérez Espinosa 2022-07-22 16:07:03 +01:00 committed by GitHub
parent 8075cb9a9f
commit d372be0043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -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": {

View File

@ -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": {

View File

@ -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',