Create e2e folder inside application folder #14250
Labels
outdated
scope: testing tools
Issues related to Cypress / Jest / Playwright / Vitest support in Nx
type: feature
Description
This is a feature request to be able to put the e2e folder inside the app itself, instead of having a separate app for it. This has already been asked for numerous times: #743, #4812 and even on stackoverflow. A PR was also proposed: #770.
Back then, the official answer, provided by vsavkin, was that it was made like this because NX schematics extended Angular CLI schematics that had this behavior. Starting Angular CLI 8, this behavior is no longer the default and the e2e folder is always created inside an app. So why NX didn't allow the possibility to create the e2e folder inside an application?
Motivation
This behavior will allows reducing the clutter inside the folder listing applications, by reducing the number of application by two.
Suggested Implementation
I don't know how exactly is implemented NX, but providing to the users the possibility to create the e2e folder inside the application itself via a flag would be great.
The text was updated successfully, but these errors were encountered: