Skip to content

test: update NG_ALLOWED_HOSTS to include port in e2e tests#33153

Open
clydin wants to merge 1 commit intoangular:mainfrom
clydin:test/update-ng-allowed-hosts
Open

test: update NG_ALLOWED_HOSTS to include port in e2e tests#33153
clydin wants to merge 1 commit intoangular:mainfrom
clydin:test/update-ng-allowed-hosts

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented May 8, 2026

No description provided.

@clydin clydin added the target: major This PR is targeted for the next major release label May 8, 2026
@clydin clydin marked this pull request as ready for review May 8, 2026 17:18
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates multiple end-to-end test files within the server-rendering suite to include the dynamic port in the NG_ALLOWED_HOSTS environment variable. By changing the value from 'localhost' to 'localhost:${port}', the tests now correctly account for the specific port assigned to the server instance. I have no feedback to provide.

Copy link
Copy Markdown
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The is not right.

The change needs to be done in @angular/ssr, I’ll take care of this on Monday.

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

Labels

target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants