docs: Remove references to protractor from documentation (#41731)
PR Close #41731
This commit is contained in:
parent
253ed5d484
commit
3b589030a8
|
@ -703,34 +703,3 @@ You can then run the tests with this configuration
|
|||
ng test --configuration es5
|
||||
|
||||
</code-example>
|
||||
|
||||
### 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.
|
||||
|
||||
<code-example language="json">
|
||||
|
||||
"e2e": {
|
||||
"builder": "@angular-devkit/build-angular:protractor",
|
||||
"options": {
|
||||
...
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
...
|
||||
},
|
||||
"es5": {
|
||||
"devServerTarget": "<app-name>:serve:es5"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
</code-example>
|
||||
|
||||
You can then run the `ng e2e` command with this configuration. Make sure to replace `<app-name>` (in `"<app-name>: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"`.
|
||||
|
||||
<code-example language="none" class="code-shell">
|
||||
|
||||
ng e2e --configuration es5
|
||||
|
||||
</code-example>
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
||||
|
|
|
@ -108,7 +108,6 @@ The schemas configure options for the following builders.
|
|||
* dev-server
|
||||
* extract-i18n
|
||||
* karma
|
||||
* protractor
|
||||
* server
|
||||
* tslint
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.1 KiB |
|
@ -1 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 186 200"><defs><style>.cls-1{fill:#e13439;}.cls-2{fill:#b52f32;}.cls-3{fill:#fff;}</style></defs><title>protractor</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><polygon class="cls-1" points="92.8 0 92.8 0 92.8 0 0 33.3 14 156.1 92.8 200 92.8 200 92.8 200 171.7 156.1 186 33.3 92.8 0"/><polygon class="cls-2" points="92.8 0 92.8 22.2 92.8 22.2 92.8 123.2 92.8 123.2 92.8 200 92.8 200 171.7 156.1 186 33.3 92.8 0"/><path class="cls-3" d="M145.3,117.1v-3.6H158a64.9,64.9,0,0,0-18-43.1L130.4,80l-2.5-2.5,9.5-9.6A64.3,64.3,0,0,0,95.3,50.4V63H91.7V50.3A65,65,0,0,0,48.6,67.9l9.6,9.6L55.6,80,46,70.4a64.8,64.8,0,0,0-17.9,43.1H40.7v3.6H28v14.8H158V117.1Zm-93.5-2.2a41.3,41.3,0,1,1,82.5,0Z"/></g></g></svg>
|
Before Width: | Height: | Size: 786 B |
|
@ -88,7 +88,7 @@
|
|||
|
||||
<div class="feature">
|
||||
<div class="feature-title">Testing</div>
|
||||
<p class="text-body">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.</p>
|
||||
<p class="text-body">With Karma for unit tests, you can know if you've broken things every time you save.</p>
|
||||
</div>
|
||||
|
||||
<div class="feature">
|
||||
|
|
|
@ -280,23 +280,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="presskit-icon-item">
|
||||
<div class="presskit-image-container">
|
||||
<img src="generated/images/marketing/concept-icons/protractor.png" alt="Protractor icon">
|
||||
</div>
|
||||
<div>
|
||||
<h3>Protractor</h3>
|
||||
<ul class="presskit-links-container">
|
||||
<li>
|
||||
<a href="generated/images/marketing/concept-icons/protractor.png" download>Download PNG icon</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="generated/images/marketing/concept-icons/protractor.svg" download>Download SVG icon</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="presskit-icon-item">
|
||||
<div class="presskit-image-container">
|
||||
<img src="generated/images/marketing/concept-icons/pwa.png" alt="PWA icon">
|
||||
|
|
|
@ -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").
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue