assertThat(json, containsString("/level1/level2/level2.js"));
String url = "file:///" + new File(reportDir + "/jscoverage.html").getAbsolutePath();
WebClient webClient = new WebClient();
HtmlPage page = webClient.getPage(url);
webClient.waitForBackgroundJavaScript(1000);
assertEquals("53%", page.getElementById("summaryTotal").getTextContent());
assertEquals("33%", page.getElementById("branchSummaryTotal").getTextContent());
assertEquals("50%", page.getElementById("functionSummaryTotal").getTextContent());
verifyCoverage(page, "/root.js", "80%", "50%", "100%");
verifyCoverage(page, "/root-empty.js", "N/A", "N/A", "N/A");