generator-fountain-webapp
generator-fountain-webapp copied to clipboard
Adding protractor to generated fountain-webapp
Hi! I like add protractor to my generated webapp like a generator-gulp-angular
app. Any ideas for a implemmentation in the future? Or a idea where is the better place to start with e2e testing with protractor?
.yo-rc.json
:
{
"generator-fountain-angular1": {
"version": "0.6.0",
"props": {
"framework": "angular1",
"modules": "webpack",
"js": "typescript",
"css": "scss",
"resolved": "/usr/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",
"namespace": "fountain-angular1",
"argv": {
"remain": [],
"cooked": [],
"original": []
},
"skip-cache": false,
"skip-install": false,
"sample": "todoMVC",
"router": "uirouter"
}
}
}
any improvement on this? should we wait for your new version to see e2e for angularjs version?
Would be great but not planned on a short future. Protractor is a bit more complicated than for gulp-angular as we have to find e2e environment for each fmk : ng1, ng2 (protractor for both ok) and React (not protractor)
@wickY26 I can do this! If you like, I can make an example.
@pablorsk I really want to see your example.
Wait, I'm making a small example...
@wickY26 the example is ready!
Protractor with angularjs webapp generated with generator-fountain-webapp: https://github.com/pablorsk/fountain-angular-protractor
You can clone project or just check the simple modificactions.
Thanks, that's great
@pablorsk Thank you for your post man. I update it with little changes I will do PR to your project at this weekend hopefully...
@wickY26 that would be very good.