Skip to content

cli-plugin-e2e-cypress typescript support #1350

Open
@ghost

Description

What problem does this feature solve?

Since Cypress already ships with official Typescript declarations, it would be nice to support Typescript for the e2e tests via cue-cli.

For the end user experience, I would expect the e2e tests to be .ts files by default when creating a vue-cli project with Typescript support and Cypress e2e testing.

What does the proposed API look like?

On the background, I would expect two things when creating a vue-cli project with Typescript support and Cypress e2e testing:

  1. It should create the tests as .ts files and automatically configure Typescript for the e2e folder as described in: https://docs.cypress.io/guides/tooling/typescript-support.html

  2. When starting the tests via vue-cli-service test:e2e it should watch and transpile the .ts test files similar to: https://github.com/cypress-io/cypress-example-recipes/tree/master/examples/preprocessors__typescript-webpack

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions