Comments (6)
@NickTomlin - I re-read your comment and didn't blindly copy and paste this time :)
Omitting --protractor-path=node_modules/.bin/protractor
fixed this issue !
here is what i ended up with:
"flake": "protractor-flake --parser=standard --max-attempts=2 -- local.conf.js"
from protractor-flake.
This looks similar to #64 which was an issue with windows and node .bin
s. I'm unfamiliar with how node on windows functions here but you should be able to resolve this by altering your command to ommit the paths. NPM should resolve to the correct executable without needing to specify it and protractor-flake will look up protractor for you.
"flake": "protractor-flake --parser=standard --max-attempts=2 --protractor-path=node_modules/.bin/protractor -- local.conf.js"
Let me know if that helps.
from protractor-flake.
@NickTomlin - this sadly didn't help me. I changed the script to be exactly the same as you provided and it gave the same error.
Any other ideas?
from protractor-flake.
@Hudson-t great, glad to hear that it worked!
If you have some spare time i'd appreciate a pull request that fixes or clarifies this for other windows users.
from protractor-flake.
@NickTomlin - thanks for your help! I will update the the documentation later this week.
from protractor-flake.
@NickTomlin Thanks for this , it helped me as well.
from protractor-flake.
Related Issues (20)
- How to build with ng e2e and run config file via protractor-flake? HOT 7
- The automated release is failing 🚨 HOT 1
- Protractor-flake no show outputs in console HOT 18
- Reruning all the tests not just the failed ones with cucumber. HOT 1
- protractor-flake doesn't run tests if suite is not specified HOT 3
- protractor-flake doesn't run the remaining tests after retrying the failed test HOT 5
- protractor-flake finds the typescript file (not the compiled file) on retry HOT 5
- protractor flake executing all suites mentioned instead of specific suite HOT 2
- Feature Request: Option to mark failing and pending specs as failure to be picked up for rerun in flake
- Same failed spec being marked to run twice with cucumber HOT 3
- Failing Cucumber Scenarios causing entire feature files to re-run HOT 4
- Protractor Flake is not working with cucumber? HOT 2
- Feature Request: Expose attemptNo or allow code to be specified in beforeAttempts/afterAttempts HOT 6
- Easier way to specify path of custom parser HOT 5
- screenshots of retries overwrite the original run HOT 4
- Running serve as part of Flake HOT 4
- retryconfig doesn't work HOT 3
- running node ./protractor-flake-retry.js works putting than command inside npm run test fails HOT 3
- seleniumAddress HOT 2
- how to use protractor arguments with yarn HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protractor-flake.