galen-sample-tests icon indicating copy to clipboard operation
galen-sample-tests copied to clipboard

running tests in chrome

Open achampton opened this issue 9 years ago • 5 comments

I have changed the galen.config galen.default.browser=chrome

but it still seem to run firefox at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:113) ... 15 more

where else would i set default to Chrome? Hoping you can help, thanks

achampton avatar Aug 17 '16 09:08 achampton

reportlog.txt

achampton avatar Aug 17 '16 10:08 achampton

That is weird. It should work. Could it be that in your test suite you initialize browser with a specific browser type? Because that config setting is only used when the browser type is not defined.

ishubin avatar Sep 12 '16 09:09 ishubin

I have changed the galen.config

Seems the repo doesn't have such a file. Shouldn't it have one? (I know you can have global config, I mean in terms of "best practice")

amitaibu avatar Feb 23 '17 10:02 amitaibu

@amitaibu As far as I remember galen loads from both from global and from projects local galen.config file. Normally I would put the settings specific to a project in its own config. While on your laptop you might want to change the default browser globally.

ishubin avatar Mar 02 '17 17:03 ishubin

I have exactly the same issue; any way to workaround it? I have specified both browser and driver path in my project config, but firefox is still used as the default browser. Using galen v2.4.4 on mac OS 10.14.6.

falcon03 avatar Nov 08 '19 16:11 falcon03