-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(testing): e2e config generators should prompt for missing serve d…
…ata (#29660) ## Current Behavior When running the `configuration` generator from `@nx/playwright` and `@nx/cypress` for existing appliactions - they currently generate a config that is likely to be invalid becaue there is not enough information to correctly assume the port, target and baseUrl for the application. This data is provided by the application generators that call the `configuration` generator - but that means that users running it manually must remember to pass the information via flags. ## Expected Behavior If the serve data is missing, prompt the user to input the correct information to ensure the config generation is as accurate as possible. (cherry picked from commit bc0566f)
- Loading branch information
1 parent
749e7fc
commit 9696210
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters