-
Notifications
You must be signed in to change notification settings - Fork 242
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
No specs found in CLI #527
Comments
You probably don't have the spec file named correctly. It needs to end with |
I'm experiencing the same problem. Tests work as expected in the browser: But don't show anything in the CLI. However, I do see console.log output in the CLI from the application, but no console output from the actual tests themselves.
|
I found a workaround. The problem (at least that I was experiencing) was that the phantomjs driver wasn't working. When running the suite with that driver, the tests weren't being found (or loaded) for some reason. I confirmed this when trying to run phantomjs manually using the phantomjs.js script that ships with teaspoon. I switched to the selenium driver (tied to chrome), and things are working as expected now. # teaspoon_env.rb
config.driver = :selenium
config.driver_options = { client_driver: :chrome }
Yay! 🎉 |
Is there anyway to fail |
@saikumar-everest not that I know of. |
Hi, I'm new to this gem. I tried setting it up for my project. It seems to work fine the browser, but I can't get the CLI to work. Running:
bin/rake teaspoon
returns:
I've tried with capybara_webkit and phantomjs. No luck
The text was updated successfully, but these errors were encountered: