Comments (5)
having this issue too
from protractor-rails.
Figured it out @tyronewilson
Since the function you use has the the done variable as a parameter you must call done()
for the test to complete. Jasmine or Protractor or whoever is assuming this test is async
So the correct code looks like:
describe('Example Specifcation', function() {
it('should be able to find the rails test server', function(done) {
expect(true).toBeTruthy();
done()
})
});
looking at the code in the master branch of this gem now it looks like you've already changed the example spec but apparently it hasn't propagated to the rubygem version
from protractor-rails.
Thanks @williscool. I haven't had time to look at this just yet. I will update and make a new release. If you have the time feel free to issue a pull request with your suggested changes.
from protractor-rails.
done
from protractor-rails.
w00t!
from protractor-rails.
Related Issues (20)
- rake protractor:init template directory structure missing templates folder? HOT 6
- Cannot run single protractor tests HOT 15
- Problem with rake protractor:install HOT 5
- Rake task always exits with 0
- Rake task fails on CI HOT 1
- testing with pow HOT 1
- --suite not working HOT 3
- kill_server not working when using unicorn as server HOT 6
- rake protractor:example failing HOT 2
- Running rake protractor:spec has failing tests HOT 1
- Any idea how I'd get login working on a non-Angular page with Devise login? HOT 1
- Running rake protractor:init fails after HOT 2
- Database cleanup does not run after failed tests
- Create a debug task HOT 1
- add --standalone flag HOT 5
- kill: invalid option -- '9'
- Nodejs is not installed.
- Running a in external selenium server
- Generate the test report and take screenshot fails HOT 1
- Can this be used to write tests for a purely ROR application? 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-rails.