Skip to content
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

nightwatch.js should "touch" tests/logs/selenium-debug.log #72

Open
martinhbramwell opened this issue Jul 30, 2015 · 2 comments
Open

nightwatch.js should "touch" tests/logs/selenium-debug.log #72

martinhbramwell opened this issue Jul 30, 2015 · 2 comments

Comments

@martinhbramwell
Copy link
Contributor

Selenium expects a pre-existing file : logs/selenium-debug.log, but boilerplate/scaffold files should never contain log files.

.gitignore cannot be used because then continuous integration servers will not get the file Selenium demands from GitHub.

The solution, in nightwatch.js, is to touch the file just before passing control to NightWatch.

@awatson1978
Copy link
Owner

That seems reasonable and well thought out. Rather than touch, we might use fs.writeFile() or something similar?

@martinhbramwell
Copy link
Contributor Author

Yeah, I didn't know the syntax used by that NodeJS library, so I referred to the operation generically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants