-
Notifications
You must be signed in to change notification settings - Fork 32
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
TypeError: "file" argument must be a non-empty string #17
Comments
hi
Thanks |
@dreuxl I am using Windows10. Please let know once you got the solution for windows |
#16 WIP |
I am having the same issue on Mac?
|
Can someone please let me know if the solution for windows is ready. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Protractor for automation. Actually I need to rerun the failed test cases so I used protractor-retry. But while execution I am getting "TypeError: "file" argument must be a non-empty string" error & failed cases are not re-executed.
below is my conf & spec file:
Sample.conf:
var retry = require('protractor-retry').retry;
exports.config = {
specs: ['sampleCase.js'],
onCleanUp: function (results) {
retry.onCleanUp(results);
},
onPrepare: function () {
retry.onPrepare();
},
};
Sample.spec
describe('Enter GURU99 Name', function() {
it('should add a Name as GURU99', function() {
browser.get('https://angularjs.org');
element(by.model('yourName')).sendKeys('GURU99');
var guru= element(by.xpath('html/body/div[2]/div[1]/div[2]/div[2]/div/h1'));
expect(guru.getText()).toEqual('Hello GURU99111!');
});
});
Error logs
Error: TypeError: "file" argument must be a non-empty string
at normalizeSpawnArguments (child_process.js:380:11)
at Object.exports.spawn (child_process.js:487:38)
Please assist
The text was updated successfully, but these errors were encountered: