I am trying to set up code coverage for our Siesta tests, using Siesta 4.4.2.
The following command runs successfully:
bin/webdriver https://www.myproject.local:8080/dist/tests --cap browser=firefox --cap os=windows --cap os_version=XP --coverage-report-format=html+raw --headless
coverage-data.json
index.html
raw_coverage_data.json
siesta-coverage-report.js
When launching index.html in my browser, I only get a page with a dark gray background and a JS error:
TypeError: this.msgTextEl is null
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="css/siesta-coverage-report.css">
<script type="text/javascript" src="siesta-coverage-report.js"></script>
<script type="text/javascript">
Ext.onReady(function () {
new Ext.Viewport({
layout : 'fit',
items : {
xtype : 'coveragereport',
standalone : true,
dataUrl : 'coverage-data.json'
}
});
});
</script>
</head>
<body>
</body>
</html>
Screenshot with stacktrace is in the attachments along with the contents of coverage-data.json, along with the harness source code (index.js).
Thank you in advance for your answer,