stuplum/astrolabe

Feature Request: Mocha Integration

Closed this issue · 4 comments

Hello, I would very much like to use astrolabe with mochajs. I have tried to get it to run with grunt-mocha-protractor with no success. When I run my tests, I get 'this' is undefined in the Astrolabe pages I created.

TypeError: Cannot call method 'findElement' of undefined

Any suggestions?

Many thanks in advance

Chris

For anyone who is interested, I was able to get a VERY basic working example of Protractor, Astrolabe, Mocha and ChaiJS working. I leveraged the grunt-mocha-protractor grunt task.

The code can be found at:
https://github.com/chriscantu/protractor-astrolabe-mocha-example

@chriscantu grunt-mocha-protractor is no longer required: see an example of getting mocha to work with astrolabe here.

A test implementing mocha with astrolabe can be found here.

@stuplum You can close this issue now.

@Droogans The guy who showed you can use straight protractor must be a total loser! ;)

Who, this guy?

Ewwww.....

From what I can gather, they do look like a total loser. Good observation.