I have a test-runner.html which contains a couple of jasmine tests and in which i included in the head:
The test-runner.html runs the jasmine tests successfully in the browser (2tests/0fails)
BUT during a maven build, i get the error:
[INFO] --- exec-maven-plugin:1.2.1:exec (PhantomJS Unit Testing) @ sig ---
ReferenceError: Can't find variable: sap
The variable 'sap' should come from the js i included in the script
The problem is that when the "phantomjs.exe phantomjs_jasminexml_runner.js test-runner.html" is executed, the test-runner.html does not load the
Please create a self-contained reduced test case as we can't troubleshoot your test.