Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

fixing e2e tasks in grunt and gulp, adding e2e tests for user module #936

Closed
wants to merge 1 commit into from

Conversation

jloveland
Copy link
Contributor

fixes #929 and #934

"postinstall": "bower install --config.interactive=false"
"postinstall": [
"bower install --config.interactive=false",
"./node_modules/protractor/bin/webdriver-manager update"
Copy link
Member

Choose a reason for hiding this comment

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

Can this be added as a Grunt task that is coupled with the protractor task? I'm concerned that not all users will want to deal with protractor & the e2e tests at the time of package install.

Copy link
Member

Choose a reason for hiding this comment

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

Something like this in the Grunt file would probably suffice..
https://github.com/meanjs/mean/blob/master/gulpfile.js#L198

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

If we use that package, would we still be required to run the server with our protractor test task? I couldn't tell from the documentation.

Either way, grunt-protractor-webdriver looks promising. I'm gonna take a shot at testing it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mleanos I didn't like grunt-protractor-webdriver after testing it out..take a look at #939 for the addition of the webdriver update to the grunt file.

@mleanos
Copy link
Member

mleanos commented Sep 25, 2015

@jloveland I think there's a bit too much going on with this PR. I'm worried it will take some time to review.

Would it be possible to just add the protractor task to the Grunt file, and fix the existing e2e tests? Perhaps in a separate PR; that way you can keep all this work here. With that approach we would get the bug fix for the Protractor tests out quickly, and then we could start building out the e2e tests.

@jloveland
Copy link
Contributor Author

@mleanos, I agree, I will separate into different PRs.

@jloveland jloveland closed this Sep 26, 2015
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.

E2E tests not executing
2 participants