Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single run true is not launching KARMA chrome browser(chrome_bin env variable Issue) in SAPUI5 #231

Open
Saurabh-Silori opened this issue Jun 11, 2021 · 0 comments

Comments

@Saurabh-Silori
Copy link

Saurabh-Silori commented Jun 11, 2021

Facing issue while running karma start.. when single run is false then getting an error as
INFO [launcher]: Starting browser Chrome
11 06 2021 07:01:09.972:ERROR [launcher]: No binary for Chrome browser on your platform.
Please, set "CHROME_BIN" env variable.

But it launches the karma server and in other terminal when given karma run it executes TC.

However when setting SingleRun= true(for CI) it gives the same error but now does not launch browser and disconnects .

Done with setting export CHROME_BIN to "C:\Program Files\Google\Chrome\Application\chrome.exe", also used SET command in terminal.. also done with chrome_bin set in windows command prompt

here is my config.js file..

/* eslint-disable strict */
module.exports = function(config) {
config.set({
frameworks: ["ui5"],
browsers: ['Chrome'],
singleRun: true
})
};

@Saurabh-Silori Saurabh-Silori changed the title Single run true is not launching chrome browser(chrome_bin env variable Issue) in SAPUI5 Single run true is not launching KARMA chrome browser(chrome_bin env variable Issue) in SAPUI5 Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant