protractor icon indicating copy to clipboard operation
protractor copied to clipboard

Since protractor 2.0 is using Jasmine 2.1.1, does it mean we can use beforeAll()?

Open blaiseliu opened this issue 11 years ago • 2 comments

I tried using beforeAll() inside a describe block, but still get

ReferenceError: beforeAll is not defined

Is it still unavailable?

blaiseliu avatar Mar 24 '15 19:03 blaiseliu

A check on the jasmine version shows I am still using 1.3.1. But my package.json in protractor\node_modules\jasmine says 2.1.1.

Is there anything we need to pay attention when upgrading protractor?

blaiseliu avatar Mar 24 '15 20:03 blaiseliu

Yes, please read http://angular.github.io/protractor/#/jasmine-upgrade

juliemr avatar Mar 24 '15 20:03 juliemr