Skip to content

Protractor builder should use dev server supplied baseUrl when available #14376

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

Merged
merged 2 commits into from
May 9, 2019

Conversation

clydin
Copy link
Member

@clydin clydin commented May 8, 2019

The Angular dev server builder provides a full URL accounting for the deploy URL, base HREF, and serve path options in its result output. This provides the necessary information for protractor to properly connect in the even any of those options are used.

The dev serve was also not properly accounting for dynamic ports (port = 0) within the result output base URL. This has also been corrected.

clydin added 2 commits May 8, 2019 13:22
…-server baseUrl

The underlying webpack dev server builder is responsible for determining the actual port value for dynamic port cases (port = 0).  This change uses that value to generate the full URL for accessing the dev server.
@clydin clydin requested a review from alan-agius4 May 8, 2019 17:45
@clydin clydin added the target: patch This PR is targeted for the next patch release label May 8, 2019
@kyliau kyliau merged commit 0b700c3 into angular:master May 9, 2019
@clydin clydin deleted the protractor-use-baseUrl branch May 9, 2019 18:04
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants