https://kotlinlang.org logo
#javascript
Title
# javascript
a

andylamax

06/28/2022, 1:26 PM
Hello, I am getting
Copy code
Please make sure that you have installed browsers.
Or change it via
browser {
    testTask {
        useKarma {
            useFirefox()
            useChrome()
            useSafari()
        }
    }
}
when running in IDE. But the tests are running fine when I run them in the terminal. Is this a known problem? I have a CHROME_BIN environment variable in my machine
b

Big Chungus

06/28/2022, 2:08 PM
Most likely ide does not see the same env vars
You can set them explicitly in the ide settings
a

andylamax

06/28/2022, 4:22 PM
only place I see to set environment variables is in the run configurations. Is there a place i can set for the whole IDE?
b

Big Chungus

06/28/2022, 4:36 PM
There is somewhere in ide settings
Search for path variables maybe
a

andylamax

06/28/2022, 4:49 PM
I actually started with path variables. But setting CHROME_BIN on path variables didn't work
20 Views