more flexible jasmine tests, MKWS-100
authorWolfram Schneider <wosch@indexdata.dk>
Fri, 17 Jan 2014 17:40:54 +0000 (17:40 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Fri, 17 Jan 2014 17:40:54 +0000 (17:40 +0000)
You can configure the jasmine test by declaring the variable

   var jasmine_config = {
        search_query: "freebsd",
        max_time: 16, // in seconds
        expected_hits: 80, // at least expected hit counter
        second: 1000, // miliseconds to seconds
        show_record_url: true // check for valid URL in records
   };

in the HTML page, similar to mkws_config = { ... }

The most common properties are: search_query, expected_hits and show_record_url


No differences found