angularjs - Protractor - beforeAll and afterAll undefined -


i using protractor jasmine. protractor version 3.2.2, found using command protractor --version. how find jasmine version used protractor. when read updgrade doc, couldn't find steps upgrade jasmine, found add jasmine2 in configuration file.

my configuration file looks this

exports.config = {  framework: 'jasmine2', .... } 

but still not able use beforeall , afterall. missing here. since beforeall , afterall undefined think version of jasmine used protractor not 2x.

any appreciated.

thanks.

protractor 3.2.2 of 20th april 2016 bundled jasmine 2.4

a fresh install of protractor should fetch 2.4 version, , can verify while looking @ npm install dependency tree log (the npm output after finished installing module), search jasmine in tree , should see 2.4 version being reported.

also, correct config used is:

framework: 'jasmine'


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -