karma
karma copied to clipboard
urlRoot does not work with parameters
Expected behavior
-
http://localhost:9876/hl?=en&id=34916909
Actual behavior
-
http://localhost:9876/hl?=en/?id=34916909
Enviroment Details
- Karma version (output of
karma --version
): 0.13.22 - Relevant part of your
karma.config.js
file:urlRoot: '/hl?=en'
Steps to reproduce the behaviour
- Add a parameter to the
urlRoot
in yourkarma.config.js
file - Launch a test
- Now you can see that the URL parameter is not handled as parameter
according to the docs, urlRoot is treated as a path,