Codeceptjs: Codecept Fails on Jenkins

Created on 8 Nov 2017  Â·  3Comments  Â·  Source: codeceptjs/CodeceptJS

@APshenkin

We are using CodeceptJS for automation on Jenkins and it worked fine until yesterday?

The build is failing on the server since yesterday. However it works fine on my local environment ?

Provide console output if related. Use --verbose mode for more details.

npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'run',
npm verb cli   'codeceptjs',
npm verb cli   'fv_testPlanRepeatingSections_test.js',
npm verb cli   '--steps',
npm verb cli   '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb run-script [ 'precodeceptjs', 'codeceptjs', 'postcodeceptjs' ]
npm info lifecycle [email protected]~precodeceptjs: [email protected]
npm info lifecycle [email protected]~codeceptjs: [email protected]

> [email protected] codeceptjs C:\Qdabra\Qdabra Form Services
> codeceptjs run -R mocha-multi "fv_testPlanRepeatingSections_test.js"

null
CodeceptJS v1.0.3
Using test root "C:\Qdabra\Qdabra Form Services"

Controls that are not supported by formsviewer --
 Repeating section (45))

 × "before each" hook: codeceptjs.before for "Repeating section (45))" in 4467ms
Error: unknown command: session/e73fecc73b0893c6199c41c656f9d56b/window/rect
question

Most helpful comment

Upgrade from chromedriver 2.32 to 2.33 fixed this for me.

All 3 comments

We didn't change anything yesterday. So we couldn't probably break your setup.
From the stack trace you provided it's not clear what might go wrong.
I assume you may have problems with latest browser and selenium server or whatever you use.

Upgrade from chromedriver 2.32 to 2.33 fixed this for me.

@DavertMik : I am facing the same issue and my Chromedriver version is 2.33,please let me know how to get rid of this.

@mshimer : ru facing this issue with chromedriver 2.33 ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ybohaienko picture ybohaienko  Â·  4Comments

wahengchang picture wahengchang  Â·  4Comments

neil-s picture neil-s  Â·  3Comments

DioNNiS picture DioNNiS  Â·  3Comments

Schveitzer picture Schveitzer  Â·  3Comments