Fix chrome parameters for running jasmine
Yes, I know this is a very ugly workaround, but it works ... Chrome now requires to add `about:blank` as parameter to open and be able to use remote debugging. The jasmine-gem isn't supported anymore, and we need to switch to the `jasmine-browser-runner`, I was working on that a few months ago, but ran into problems. As the jasmine-gem doesn't allow to add parameters without `--` infront of it, lets just add a dummy parameter and add the required `about:blank` with a space after that. This is ugly, but works for now, until we can upgrade to the new jasmine version. We could also just replace the `nil` of the last parameter with that value, but I think that way it's clearer that this is a workaround and how it works.
This commit is contained in:
parent
763dffa328
commit
11107ee637
1 changed files with 1 additions and 0 deletions
|
|
@ -8,4 +8,5 @@ Jasmine.configure do |config|
|
|||
config.chrome_cli_options["disable-gpu"] = nil
|
||||
config.chrome_cli_options["disable-software-rasterizer"] = nil
|
||||
config.chrome_cli_options["disable-dev-shm-usage"] = nil
|
||||
config.chrome_cli_options["last-parameter-to-open-blank-page-workaround"] = " about:blank"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue