LiTiang / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Wrong url during auto re-capturing the browser when using serverHandlerPrefix #231

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run JSTD with serverHandlerPrefix
2. capture browser
3. shut down JSTD
4. run JSTD again and wait for browser to recapture automatically

What is the expected output? What do you see instead?
It should recapture the browser, but it navigates to 
http://localhost:port/prefix/prefix/.... instead

Original issue reported on code.google.com by vojta.jina on 20 Apr 2011 at 1:47

GoogleCodeExporter commented 9 years ago
This also happens if you run jstd in "continuous build mode", where you launch 
the server at the same time as specifying the tests.

Original comment by d...@wifislam.com on 16 Dec 2011 at 2:05

GoogleCodeExporter commented 9 years ago
More specifically, it seems that if I specify the flag "--server" explicitly it 
works fine, but if I don't, the prefix gets inserted twice.

Original comment by d...@wifislam.com on 16 Dec 2011 at 2:28