karma icon indicating copy to clipboard operation
karma copied to clipboard

urlRoot does not work with parameters

Open bennycode opened this issue 8 years ago • 1 comments

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

  1. Add a parameter to the urlRoot in your karma.config.js file
  2. Launch a test
  3. Now you can see that the URL parameter is not handled as parameter

bennycode avatar Apr 25 '16 14:04 bennycode

according to the docs, urlRoot is treated as a path,

Judimax avatar Aug 31 '19 22:08 Judimax