Get help with testing, discuss unit testing strategies etc.


Post 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

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

Post by nickolay »

Hello,

Can you try with the latest Siesta version - 5.5.0?


Post by Hakim »

Okay, will try with that.
Thanks


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


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/


Post Reply