Skip to content
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

fix(eject): set ejected project to run webdriver-manager update as part of e2e npm script #4920

Closed
wants to merge 1 commit into from

Conversation

Meligy
Copy link
Contributor

@Meligy Meligy commented Feb 22, 2017

Fixes an error you get with:

ng new awesome
cd awesome
ng eject
npm run e2e

Because webdriver-manager update never ran.

--

This is based on old NPM pree2e way.

Copy link
Contributor

@filipesilva filipesilva left a comment

Choose a reason for hiding this comment

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

Makes sense, let's see if there's any problem with the tests.

Maybe we should have an e2e test for the ejected e2e test for this scenario as well? That way we can e2e while e2e'ing.

@@ -434,6 +436,13 @@ export default Task.extend({
Your package.json scripts needs to not contain a start script as it will be overwritten.
`);
}
if (scripts['pree2e'] && scripts['pree2e'] !== pree2eNpmScript && !force) {
// tslint:disable-next-line:max-line-length
Copy link
Contributor

Choose a reason for hiding this comment

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

You're using oneLine so you can put your string in multiple lines and they'll be joined. Remove this tslint exception.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fixing myself then committing.

@hansl hansl closed this in 7567f5c Feb 22, 2017
asnowwolf pushed a commit to asnowwolf/angular-cli that referenced this pull request Apr 12, 2017
@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 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants