Skip to content

docs request: writing e2e tests and debugging聽#28968

Description

@christopher-kiss

馃摎 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/e2e

Expected 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: docsRelated to the documentationarea: testingIssues related to Angular testing features, such as TestBeddoc-topic: referenceUse only with "comp: docs" for issues in the reference topicsdocsarea: testingUse only with "comp: docs" for issues with documentation on testing..effort3: weeks

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions