NickTomlin / protractor-flake

Rerun potentially flakey protractor tests before failing.
MIT License
80 stars 51 forks source link

Running serve as part of Flake #92

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi there!

I'm on Windows and Angular 6 - I was wondering if there is a way to run ng serve as part of the flake and close down once it's finished. I'm trying to run flake on Teamcity.

Thanks, Shiva

NickTomlin commented 6 years ago

👋 Hi there!

I would do this in a wrapper script (or a background process) alongside protractor flake. I'm not a windows or teamcity user so I can't speak to exactly how that is done but I think it's possible. Hope that helps!

NickTomlin commented 6 years ago

I haven't seen any activity on this so I am going to close it for now. Thanks!

ghost commented 6 years ago

Thanks for the suggestion. I created a script to run it, it's not ideal but does the job for now. Thanks for the suggestion.

NickTomlin commented 6 years ago

Glad you found a solution, thanks!