JUTE icon indicating copy to clipboard operation
JUTE copied to clipboard

A simple test page(javascript test directly embedded into the HTML) failed on JUTE with chrome 15.0 on osx 10.6

Open baechul opened this issue 14 years ago • 4 comments

A simple test file failed with JUTE and here is the output:

This XML file does not appear to have any style information associated with it. The document tree is shown below. Test Timed Out: Most likely a Javascript parsing error - try loading /test/simple.html in your browser

Just opening the test page works fine: yui-min.js:11TestRunner: Testing began at Tue Nov 01 2011 10:24:08 GMT-0700 (PDT). yui-min.js:11TestRunner: Test suite "Simple Suite" started. yui-min.js:11TestRunner: Test case "testCaseyui_3_4_1_1_1320168248241_28" started. yui-min.js:11TestRunner: testSomething: passed. yui-min.js:11TestRunner: Test case "testCaseyui_3_4_1_1_1320168248241_28" completed. Passed:1 Failed:0 Total:1 (0 ignored) yui-min.js:11TestRunner: Test suite "Simple Suite" completed. Passed:1 Failed:0 Total:1 (0 ignored) yui-min.js:11TestRunner: Testing completed at Tue Nov 01 2011 10:24:08 GMT-0700 (PDT). Passed:1 Failed:0 Total:1 (0 ignored)

And here is the test page:

Test Suite Example

Simple Test 1

baechul avatar Nov 01 '11 17:11 baechul

Btw my environment:

heightrush-lm:suite tester$ node --version v0.4.11 heightrush-lm:suite tester$ npm --version 1.0.103

baechul avatar Nov 01 '11 18:11 baechul

Can you try that using a

zzo avatar Nov 01 '11 18:11 zzo

Your suggestion worked. Is that a requirement?

baechul avatar Nov 01 '11 18:11 baechul

Unfortunately it is currently a requirement - I'm looking thru the code now to see how that can be avoided. The issue is the dynamic insertion of the JUTE code - right now that only happens with JS files not HTML files.
If this restriction (your test file must be provided via a

zzo avatar Nov 01 '11 19:11 zzo