-
Notifications
You must be signed in to change notification settings - Fork 29.1k
docs request: writing e2e tests and debugging聽#28968
Copy link
Copy link
Open
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: docsRelated to the documentationRelated to the documentationarea: testingIssues related to Angular testing features, such as TestBedIssues related to Angular testing features, such as TestBeddoc-topic: referenceUse only with "comp: docs" for issues in the reference topicsUse only with "comp: docs" for issues in the reference topicsdocsarea: testingUse only with "comp: docs" for issues with documentation on testing..Use only with "comp: docs" for issues with documentation on testing..effort3: weeks
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: docsRelated to the documentationRelated to the documentationarea: testingIssues related to Angular testing features, such as TestBedIssues related to Angular testing features, such as TestBeddoc-topic: referenceUse only with "comp: docs" for issues in the reference topicsUse only with "comp: docs" for issues in the reference topicsdocsarea: testingUse only with "comp: docs" for issues with documentation on testing..Use only with "comp: docs" for issues with documentation on testing..effort3: weeks
馃摎 Docs or angular.io bug report
Description
The docs currently have a fantastic testing section and is a key resource when directing other staff on how to write unit tests for Angular, however for writing e2e tests there is no documentation. In addition, how to debug e2e tests is not mentioned anywhere.
The cli ng e2e docs mention --elementExplorer, however this does not work in node 8+, so how do we do this?
Clear documentation outlining the process of e2e tests would be appreciated, given that angular supports this and has a cli command for it. As an end user, I don't know how to use this.
Going a step further, looking at the protractor website: https://www.protractortest.org it seems heavily focused on AngularJS, but does mention Angular. If this is the resource that we are meant to use, at the minimum the Angular docs should link to this, but it would be better if this was a first class citizen of the Angular docs that was specific to Angular to avoid confusion.
馃敩 Minimal Reproduction
What's the affected URL?**
https://angular.io/cli/e2eExpected vs Actual Behavior**
Expected
I'm expecting to find docs on how to write e2e tests and how I can debug my e2e tests.
Actual
Using the search terms 'protractor', 'e2e', 'end to end' do not provide any useful information on how to do this.