browserstack / protractor-browserstack-reporter

1 stars 9 forks source link

Failure during onPrepare: jasmine is not defined #3

Closed cyrixmorten closed 1 year ago

cyrixmorten commented 5 years ago

Looks like there might be missing a dependency on jasmine

[14:26:39] I/plugins -       Fail:  browserstack-protractor-plugin Plugin Tests 
[14:26:39] E/plugins -      Failure during onPrepare: jasmine is not defined
[14:26:39] E/plugins -      ReferenceError: jasmine is not defined
            at Object.onPrepare (/Users/cyrixmorten/Development/LocalEdgeConfigurator/e2e/node_modules/protractor-browserstack-reporter/index.js:82:5)
cyrixmorten commented 5 years ago

Am trying to follow this: https://www.browserstack.com/automate/azure

The bottom most part about adding tests results to Azure DevOps.

Wondering if there is a built-in assumption to be using Jasmine in this library or is there something wrong with my setup causing the jasmine is not defined error?

utsavsethiaGL commented 5 years ago

Any Solution?

karanshah-browserstack commented 3 years ago

@cyrixmorten protractor-browserstack-reporter currently supports only jasmine framework with protractor. However, we have taken this as a feature request of supporting mocha projects in the future.

cyrixmorten commented 1 year ago

Do not see where I mentioned mocha? But ok.. :D