-
Notifications
You must be signed in to change notification settings - Fork 12k
test: add a minimal standalone component application E2E test #23097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bd816c8
to
9141c84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not familiar with the CLI testing infrastructure but the scenario / test itself LGTM
await ng('build'); | ||
|
||
// Perform the default E2E tests | ||
await ng('e2e', 'test-project'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also consider adding a unit test for standalone and verifying that that works, but we can follow up with and expand this test later, so not a blocking issue for this PR.
A new E2E test has been added that updates a newly generated application to use a standalone component that is bootstrapped with the newly introduced `bootstrapApplication` API. This test is intended to check that the minimal functionality for a standalone-based application functions with the Angular CLI. More expansive tests will be added as standalone features and capabilities are introduced within the Angular CLI.
c2c137f
9141c84
to
c2c137f
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
A new E2E test has been added that updates a newly generated application to use a standalone component that
is bootstrapped with the newly introduced
bootstrapApplication
API. This test is intended to check thatthe minimal functionality for a standalone-based application functions with the Angular CLI. More expansive
tests will be added as standalone features and capabilities are introduced within the Angular CLI.
Closes #23044