var renderPng = require('../../app/render_png');
describe('renderPng', function () {
  describe('getScreenshotPath', function () {

    it('creates the URL for the screenshot service call', function () {
      renderPng.screenshotServiceUrl = 'http://screenshotservice';
      renderPng.screenshotTargetUrl = 'http://spotlight';
      var url = '/test/path.png';
      var screenshotPath = renderPng.getScreenshotPath(url);
      expect(screenshotPath).toEqual('http://screenshotservice?readyExpression=!!document.querySelector(".loaded")&forwardCacheHeaders=true&clipSelector=.visualisation&url=http://spotlight/test/path?raw');
    });
  });
});

@@ -411,19 +411,61 @@
 hotPath(
-url
+%7B%0A        url: url,%0A        query: %7B%7D%0A      %7D
 );%0A     
@@ -626,16 +626,29 @@
 lisation
+-inner figure
 &url=htt
@@ -674,12 +674,8 @@
 path
-?raw
 ');%0A

Fix qs params in screenshot url tests