Page 1 of 1

Generating tests report with CLI

Posted: Wed Jul 08, 2020 12:20 pm
by Hakim

Hi all,

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

  1. Executing this cmd in chrome?
    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:
    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


Re: Generating tests report with CLI

Posted: Wed Jul 08, 2020 12:31 pm
by nickolay

Hello,

Can you try with the latest Siesta version - 5.5.0?


Re: Generating tests report with CLI

Posted: Wed Jul 08, 2020 1:00 pm
by Hakim

Okay, will try with that.
Thanks


Re: Generating tests report with CLI

Posted: Thu Jul 09, 2020 4:14 pm
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


Re: Generating tests report with CLI

Posted: Thu Jul 09, 2020 7:34 pm
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/