virtual-world-framework/vwf — pull request #111 by bcbarsness (2014-01-27 18:09:11+00:00)
Title: Node.js Server parse driver-specifying url parameters.  Add casperjs tes...

...ts. Fixes #2980, #3060

Run casperjs tests or manually walk through the following;

casper.thenOpen(serverAddress + '/duck?threejs#!threejs', function() {
loadsApplication('/duck?threejs#!threejs');
});

casper.thenOpen(serverAddress + '/duck/?threejs#!threejs', function() {
loadsApplication('/duck/?threejs#!threejs');
});

casper.thenOpen(serverAddress + '/duck/0000000000000000?threejs#!threejs', function() {
loadsApplication('/duck/0000000000000000?threejs#!threejs');
});

// TODO: Not sure why, but this test fails. Fails to load vwf.js.
// casper.thenOpen(serverAddress + '/duck/0000000000000000/', loadsApplication);

casper.thenOpen(serverAddress + '/duck/index.vwf?threejs#!threejs', function() {
loadsApplication('/duck/index.vwf?threejs#!threejs');
});

casper.thenOpen(serverAddress + '/duck/index.vwf/?threejs#!threejs', function() {
loadsApplication('/duck/index.vwf/?threejs#!threejs');
});

casper.thenOpen(serverAddress + '/duck/index.vwf/0000000000000000?threejs#!threejs', function() {
loadsApplication('/duck/index.vwf/0000000000000000?threejs#!threejs');