We need this for raw pp2 tests, MKWS-82
<link rel="stylesheet" type="text/css" href="../../tools/htdocs/mkws.css" />
<script type="text/javascript">
var mkws_config = {
+ jasmine: { "show_record_url": false },
use_service_proxy: false,
pazpar2_url : "/pazpar2/",
perpage_default: 10
});
it("extract URL", function () {
+ if (mkws_config.jasmine && mkws_config.jasmine.show_record_url == false) {
+ debug("ignore test for URL in record")
+ return;
+ }
+
var url = $("div#mkwsRecords div.record:nth-child(" + record_number + ") div table tbody tr td a").text();
debug("extracted URL from record: " + url);