Generating tests report with CLI

Get help with testing, discuss unit testing strategies etc.


Post Reply
User avatar
Hakim
Posts: 47
Joined: Fri Apr 26, 2019 3:00 pm

Generating tests report with CLI

Post by Hakim »

Hi all,

I am facing some issues using webdriver or puppeteer on chrome.

  1. Executing this cmd in chrome?

    Code: Select all

    siesta-5.3.2-standard/bin/webdriver localhost:1841/myApp/Siesta/test.html --include gridStores.t.js 

Here is the error:
Image

Is there any workaround to prevent that?

  1. Executing the same cmd (by adding browser option: --browser=firefox) in firefox doesn't cause any problem.
    But whenever I try to generate test report, I face other issues:

    Code: Select all

    siesta-5.3.2-standard/bin/webdriver localhost:1841/myApp/Siesta/test.html --include BaseStores.t.js --coverage-report-format=HTML --coverage-report-dir Siesta/coverage --browser=firefox

Error:
Image

I can't understand why that's happening in siesta-5.3.2. In siesta-5.3.1, it worked fine.

I also try using puppeteer launcher, tests are running fine but reporting them causes the same issues

Last edited by Hakim on Thu Jul 09, 2020 4:16 pm, edited 3 times in total.

User avatar
nickolay
Core Developer
Core Developer
Posts: 3456
Joined: Mon May 16, 2011 10:48 am

Re: Generating tests report with CLI

Post by nickolay »

Hello,

Can you try with the latest Siesta version - 5.5.0?

We offer training in both Ext JS and our products, read more here.
Read the API documentation

User avatar
Hakim
Posts: 47
Joined: Fri Apr 26, 2019 3:00 pm

Re: Generating tests report with CLI

Post by Hakim »

Okay, will try with that.
Thanks


User avatar
Hakim
Posts: 47
Joined: Fri Apr 26, 2019 3:00 pm

Re: Generating tests report with CLI

Post by Hakim »

I have upgraded siesta version to 5.5.0. Everything is fine in firefox. But still in chrome, webdriver launcher complains about chrome version and it expects chrome version to be 79 as mentioned earlier.
Recall the error here again https://i.ibb.co/bzGLsbq/Screen-Shot-2020-07-08-at-12-58-19-PM.png


User avatar
nickolay
Core Developer
Core Developer
Posts: 3456
Joined: Mon May 16, 2011 10:48 am

Re: Generating tests report with CLI

Post by nickolay »

Ok, thank you for the report. We'll upgrade the Chrome webdriver in the next release. In the meantime, please do that manually.

You can download it from here: https://chromedriver.chromium.org/downloads

And need to place the downloaded binary to: /siesta/bin/binary/chromedriver/

We offer training in both Ext JS and our products, read more here.
Read the API documentation

Post Reply