From 3b589030a80e956509c787f6e4c07bb78b529c91 Mon Sep 17 00:00:00 2001 From: David Shevitz Date: Tue, 20 Apr 2021 23:05:44 +0000 Subject: [PATCH] docs: Remove references to protractor from documentation (#41731) PR Close #41731 --- aio/content/guide/deployment.md | 31 ------------------ aio/content/guide/npm-packages.md | 2 ++ aio/content/guide/workspace-config.md | 1 - .../marketing/concept-icons/protractor.png | Bin 3178 -> 0 bytes .../marketing/concept-icons/protractor.svg | 1 - aio/content/marketing/features.html | 2 +- aio/content/marketing/presskit.html | 17 ---------- aio/content/start/start-deployment.md | 2 -- packages/core/src/testability/testability.ts | 4 +-- 9 files changed, 5 insertions(+), 55 deletions(-) delete mode 100644 aio/content/images/marketing/concept-icons/protractor.png delete mode 100644 aio/content/images/marketing/concept-icons/protractor.svg diff --git a/aio/content/guide/deployment.md b/aio/content/guide/deployment.md index b9a13c0308..406b9fbfba 100644 --- a/aio/content/guide/deployment.md +++ b/aio/content/guide/deployment.md @@ -703,34 +703,3 @@ You can then run the tests with this configuration ng test --configuration es5 - -### Configuring the e2e command - -Create an [ES5 serve configuration](guide/deployment#configuring-serve-for-es5) as explained above, and configuration an ES5 configuration for the E2E target. - - - -"e2e": { - "builder": "@angular-devkit/build-angular:protractor", - "options": { - ... - }, - "configurations": { - "production": { - ... - }, - "es5": { - "devServerTarget": "<app-name>:serve:es5" - } - } -}, - - - -You can then run the `ng e2e` command with this configuration. Make sure to replace `` (in `":serve:es5"`) with the actual name of the app, as it appears under `projects` in `angular.json`. For example, if your application name is `myAngularApp` the configuration will become `"devServerTarget": "myAngularApp:serve:es5"`. - - - -ng e2e --configuration es5 - - diff --git a/aio/content/guide/npm-packages.md b/aio/content/guide/npm-packages.md index a5d0bf57d2..11b0a7751c 100644 --- a/aio/content/guide/npm-packages.md +++ b/aio/content/guide/npm-packages.md @@ -121,6 +121,8 @@ Package name | Description **@types/... ** | TypeScript definition files for 3rd party libraries such as Jasmine and Node.js. **jasmine/... ** | Packages to support the [Jasmine](https://jasmine.github.io/) test library. **karma/... ** | Packages to support the [karma](https://www.npmjs.com/package/karma) test runner. +[**ts-node**](https://www.npmjs.com/package/ts-node) | TypeScript execution environment and REPL for Node.js. +[**tslint**](https://www.npmjs.com/package/tslint) | A static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors. [**typescript**](https://www.npmjs.com/package/typescript) | The TypeScript language server, including the *tsc* TypeScript compiler. diff --git a/aio/content/guide/workspace-config.md b/aio/content/guide/workspace-config.md index 97efc910a8..ae75f467e8 100644 --- a/aio/content/guide/workspace-config.md +++ b/aio/content/guide/workspace-config.md @@ -108,7 +108,6 @@ The schemas configure options for the following builders. * dev-server * extract-i18n * karma -* protractor * server * tslint diff --git a/aio/content/images/marketing/concept-icons/protractor.png b/aio/content/images/marketing/concept-icons/protractor.png deleted file mode 100644 index 8d6a687cdbb2846f41406da502fee6b1a95eff51..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3178 zcmXX}dpOhWAKsj8%rSDBP?Wq>M5e8=az3Sak&P%hWQw8Y&}O7JMe41+VQkJZ%&U`W zqh6&_e33>X74}_nDBqAyzv=q@@jTDxdY=2a@6YwQuIIWx&tLw&ZmI}<1PlgK^>E)C zAYJ*=@mNVgI)_hwbCNE~C)`7lVKAiT+JFy?WqpUiR17`#Iv+gsYIe*go*1aBxR8;P z!I(CH%BD%@)fX@)Hf)wt)G>0$bI)DbkZtw}m6N^sh`Fbt-nn;m_X7~sH*1H40SSh| zF@LPzVs0tidx)X=@l%tR?=I}?u3U%n&0n()H>$*&brZQeph(v2v-vPjs>NAQZQ__RsClwaHNFjTXA2Zr&6;~T zRh4E4!p9uuMg%Eo7}Yc_@N_@*r%P@6vgd%)*>Wd#a&x=r!vtAYZ~<+i0}$WMF$vXb zpi&F17j2nIa62bYG2kSPnUh6;MkHL|TNjp`TcU+=v10$3Fny%-p}diaeI%GZL*B{> z(4yoFE3xMr+Z*#d8-Xa*7L(?7*4d}(>~8Hy4NExoyt=`pvNQfpJ}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svg deleted file mode 100644 index 545ee9a132..0000000000 --- a/aio/content/images/marketing/concept-icons/protractor.svg +++ /dev/null @@ -1 +0,0 @@ -protractor \ No newline at end of file diff --git a/aio/content/marketing/features.html b/aio/content/marketing/features.html index f303d017d0..d17b8c713f 100755 --- a/aio/content/marketing/features.html +++ b/aio/content/marketing/features.html @@ -88,7 +88,7 @@
Testing
-

With Karma for unit tests, you can know if you've broken things every time you save. And Protractor makes your scenario tests run faster and in a stable manner.

+

With Karma for unit tests, you can know if you've broken things every time you save.

diff --git a/aio/content/marketing/presskit.html b/aio/content/marketing/presskit.html index 56af71ded5..74c9787a51 100644 --- a/aio/content/marketing/presskit.html +++ b/aio/content/marketing/presskit.html @@ -280,23 +280,6 @@
-
-
- Protractor icon -
-
-

Protractor

- -
-
-
PWA icon diff --git a/aio/content/start/start-deployment.md b/aio/content/start/start-deployment.md index d99ae2fb7a..5da25e6f01 100644 --- a/aio/content/start/start-deployment.md +++ b/aio/content/start/start-deployment.md @@ -91,6 +91,4 @@ Keep current by following the [Angular blog](https://blog.angular.io/ "Angular b To support your UX/UI development, see [Angular Material](https://material.angular.io/ "Angular Material web site"). -To test your Angular applications, see [Angular Protractor](https://protractor.angular.io/ "Angular Protractor web site"). - The Angular community also has an extensive [network of third-party tools and libraries](resources "Angular resources list"). diff --git a/packages/core/src/testability/testability.ts b/packages/core/src/testability/testability.ts index 55d6e1f9b3..6efffad809 100644 --- a/packages/core/src/testability/testability.ts +++ b/packages/core/src/testability/testability.ts @@ -50,8 +50,8 @@ interface WaitCallback { /** * The Testability service provides testing hooks that can be accessed from - * the browser and by services such as Protractor. Each bootstrapped Angular - * application on the page will have an instance of Testability. + * the browser. Each bootstrapped Angular application on the page will have + * an instance of Testability. * @publicApi */ @Injectable()