Upgrading to Serenity/JS 3 #2143
Answered
by
jan-molak
waleedKhalidCalrom
asked this question in
How to... ?
-
Beta Was this translation helpful? Give feedback.
Answered by
jan-molak
Dec 22, 2023
Replies: 1 comment 9 replies
-
Hi @waleedKhalidCalrom! It's great you're upgrading your automation project to the latest version of Serenity/JS! With Serenity/JS 3, you don't need to add the Serenity/JS Jasmine reporter manually as the Protractor (or WebdriverIO) adapter will do this for you. You can remove the following line: jasmineNodeOpts: {
requires: [
'ts-node/register',
- path.resolve(__dirname, 'node_modules/@serenity-js/jasmine'),
],
helpers: [
'spec/config/*.ts'
],
showColors: true,
defaultTimeoutInterval: 120000,
}, You might also find the following resources useful:
Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
jan-molak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @waleedKhalidCalrom! It's great you're upgrading your automation project to the latest version of Serenity/JS!
With Serenity/JS 3, you don't need to add the Serenity/JS Jasmine reporter manually as the Protractor (or WebdriverIO) adapter will do this for you. You can remove the following line:
jasmineNodeOpts: { requires: [ 'ts-node/register', - path.resolve(__dirname, 'node_modules/@serenity-js/jasmine'), ], helpers: [ 'spec/config/*.ts' ], showColors: true, defaultTimeoutInterval: 120000, },
You might also find the following resources useful:
serenity-js-jasmine-protractor-template
reference implementationLet me…