Protractor - beforeAll and afterAll undefined

拈花ヽ惹草 提交于 2019-12-04 18:17:53

Protractor 3.2.2 as of 20th April 2016 is bundled with Jasmine 2.4

A fresh install of protractor should fetch you the 2.4 version, and you can verify this while looking at the npm install dependency tree log (the npm output after it finished installing a module), search for jasmine in that tree and you should see the 2.4 version being reported.

Also, the correct config to be used is:

framework: 'jasmine'

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!