katalon-studio / kr-cli

A public repo for Katalon Recorder Command-Line Runner
1 stars 2 forks source link

Running the command line for firefox on ubuntu does not seem to execute the tests #7

Open SondreRopstad opened 3 years ago

SondreRopstad commented 3 years ago

When running the command line runner on firefox on windows ("C:\Notes\working_folder\html\tests\node_modules.bin\kr-cli.cmd run firefox 'step_1_prod_tests.html' --report '.\' ") two instances of firefox are opened, in one there is a new tab and the link "https://www.katalon.com/sign-up/?utm_source=browser%20store&utm_campaign=installed%20KR", in the other it correctly goes to the link it is supposed to and executes the tests as expected. A report is generated as expected and the log shows what tests are being done here.

On ubuntu however, while firefox is opened, and like on windows a new tab and "https://www.katalon.com/sign-up/?utm_source=browser%20store&utm_campaign=installed%20KR" is opened, no second instance of firefox is opened and the commands apepar not to be executed at all. This is suppored by the fact that the log's only line is "[INFO] Message: listening on *:3500" and that no new report were created.

Akiboy0310 commented 2 years ago

Hi Sondre, did you find a solution to this problem? Would be very helpfull if you can share it. I am facing the same problem currently.

SondreRopstad commented 2 years ago

Currently I just run it on windows with firefix instead of on linux.

I haven't tested to see if it works on linux since I made that issue.

Akiboy0310 commented 2 years ago

Currently I just run it on windows with firefix instead of on linux.

I haven't tested to see if it works on linux since I made that issue.

Thanks for the reply, did you somehow make it work with google Chrome on any operating system?