You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ PHANTOMAS_ENGINE=gecko npm test
> [email protected] test /home/macbre/github/phantomas
> vows --spec
♢ Integration tests
test server
✓ should be up and running
/phantomas-scope.html
✓ should be generated
✓ should have "jsErrors" metric properly set
✓ should have "asserts" metric properly set
/dom-operations.html
✓ should be generated
✓ should have "requests" metric properly set
✓ should have "cssCount" metric properly set
✓ should have "jsCount" metric properly set
✓ should have "domains" metric properly set
✓ should have "DOMqueries" metric properly set
✓ should have "DOMqueriesById" metric properly set
✓ should have "DOMqueriesByClassName" metric properly set
✓ should have "DOMqueriesByTagName" metric properly set
✓ should have "DOMqueriesByQuerySelectorAll" metric properly set
✓ should have "DOMinserts" metric properly set
✓ should have "DOMqueriesDuplicated" metric properly set
✓ should have "DOMqueriesAvoidable" metric properly set
✓ should have "DOMqueriesWithoutResults" metric properly set
/dom-operations.html
✓ should be generated
✓ should have "DOMmutationsInserts" metric properly set
/dom-complexity.html
✓ should be generated
✓ should have "bodyHTMLSize" metric properly set
✗ should have "commentsSize" metric properly set
» expected 12,
got 0 (===) // integration-test.js:52
✗ should have "DOMelementsCount" metric properly set
» expected 6,
got 0 (===) // integration-test.js:52
✗ should have "DOMelementMaxDepth" metric properly set
» expected 2,
got 0 (===) // integration-test.js:52
✓ should have "DOMidDuplicated" metric properly set
✗ should have "hiddenContentSize" metric properly set
» expected 10,
got 0 (===) // integration-test.js:52
✓ should have "imagesScaledDown" metric properly set
✗ should have "imagesWithoutDimensions" metric properly set
» expected 2,
got 0 (===) // integration-test.js:52
✗ should have "nodesWithInlineCSS" metric properly set
» expected 1,
got 0 (===) // integration-test.js:52
✗ should have "whiteSpacesSize" metric properly set
» expected 14,
got 0 (===) // integration-test.js:52
/document-height.html
✓ should be generated
✓ should have "documentHeight" metric properly set
/image-scaling.html
✓ should be generated
✗ should have "imagesScaledDown" metric properly set
» expected 2,
got 0 (===) // integration-test.js:52
✗ should have "imagesWithoutDimensions" metric properly set
» expected 3,
got 0 (===) // integration-test.js:52
/dom-id.html
✓ should be generated
✗ should have "DOMidDuplicated" metric properly set
» expected 2,
got 0 (===) // integration-test.js:52
Assertions and exit code
✗ should be generated
» Exit code matches the expected value // integration-test.js:46
✓ should have "requests" metric properly set
/inline-css.html
✗ should be generated
» Exit code matches the expected value // integration-test.js:46
✓ should have "requests" metric properly set
✓ should have "cssParsingErrors" metric properly set
✓ should have "cssInlineStyles" metric properly set
✗ should have "cssLength" metric properly set
» expected 106,
got undefined (===) // integration-test.js:52
✗ should have "cssRules" metric properly set
» expected 3,
got undefined (===) // integration-test.js:52
✗ should have "cssImportants" metric properly set
» expected 1,
got undefined (===) // integration-test.js:52
✓ should have "DOMqueries" metric properly set
/broken-css.html
✗ should be generated
» Exit code matches the expected value // integration-test.js:46
✗ should have "cssParsingErrors" metric properly set
» expected 3,
got 0 (===) // integration-test.js:52
✗ should have "cssLength" metric properly set
» expected 39,
got undefined (===) // integration-test.js:52
✗ should have "cssRules" metric properly set
» expected 1,
got undefined (===) // integration-test.js:52
/dom-operations.html
✗ should be generated
» Exit code matches the expected value // integration-test.js:46
✓ should have "cssParsingErrors" metric properly set
✗ should have "cssLength" metric properly set
» expected 22,
got undefined (===) // integration-test.js:52
✗ should have "cssRules" metric properly set
» expected 1,
got undefined (===) // integration-test.js:52
/jquery.html
✓ should be generated
✓ should have "jQueryVersion" metric properly set
✓ should have "jQueryOnDOMReadyFunctions" metric properly set
✓ should have "jQueryWindowOnLoadFunctions" metric properly set
✓ should have "jQuerySizzleCalls" metric properly set
✗ should have "jQueryEventTriggers" metric properly set
» expected 2,
got 1 (===) // integration-test.js:52
✗ should have "eventsBound" metric properly set
» expected 7,
got 5 (===) // integration-test.js:52
✗ should have "eventsDispatched" metric properly set
» expected 1,
got 0 (===) // integration-test.js:52
✗ should have "eventsScrollBound" metric properly set
» expected 2,
got 0 (===) // integration-test.js:52
/jquery-multiple.html
✓ should be generated
✓ should have "jQueryVersion" metric properly set
✓ should have "jQueryVersionsLoaded" metric properly set
✓ should have "jQueryOnDOMReadyFunctions" metric properly set
/jquery-multiple.html (with --no-externals)
✓ should be generated
✗ should have "blockedRequests" metric properly set
» expected 2,
got 4 (===) // integration-test.js:52
✓ should have "domains" metric properly set
✓ should have "jsCount" metric properly set
/jquery-reads-writes.html
✓ should be generated
✓ should have "jQueryDOMReads" metric properly set
✓ should have "jQueryDOMWrites" metric properly set
✓ should have "jQueryDOMWriteReadSwitches" metric properly set
/jquery-old-version.html
✓ should be generated
✓ should have "jsErrors" metric properly set
✓ should have "jQueryVersion" metric properly set
✓ should have "jQuerySizzleCalls" metric properly set
✓ should have "jQueryEventTriggers" metric properly set
/ (--wait-for-selector)
✓ should be generated
✓ should have "DOMqueries" metric properly set
/wait-for-selector.html
✓ should be generated
✗ should have "DOMelementsCount" metric properly set
» expected 4,
got 0 (===) // integration-test.js:52
/wait-for-event.html
✓ should be generated
✓ should have "testFooBar" metric properly set
/timing.html
✓ should be generated
✓ should have "requests" metric properly set
✓ should have "requestsToDomContentLoaded" metric properly set
✓ should have "domainsToDomContentLoaded" metric properly set
✓ should have "requestsToDomComplete" metric properly set
✓ should have "domainsToDomComplete" metric properly set
/bottlenecks.html (--spy-eval)
✓ should be generated
✓ should have "documentWriteCalls" metric properly set
✓ should have "evalCalls" metric properly set
/bottlenecks.html
✓ should be generated
✓ should have "documentWriteCalls" metric properly set
✓ should have "evalCalls" metric properly set
/after-onload.html (--stop-at-onload)
✓ should be generated
✓ should have "imageCount" metric properly set
✓ should have "requests" metric properly set
/after-onload.html
✓ should be generated
✓ should have "imageCount" metric properly set
✓ should have "requests" metric properly set
/lazy-loadable-images.html
✓ should be generated
✗ should have "lazyLoadableImagesBelowTheFold" metric properly set
» expected 2,
got 0 (===) // integration-test.js:52
/js-globals.html
✓ should be generated
✗ should have "globalVariables" metric properly set
» expected 3,
got 0 (===) // integration-test.js:52
✗ should have "globalVariablesFalsy" metric properly set
» expected 1,
got 0 (===) // integration-test.js:52
✓ should have "jsErrors" metric properly set
♢ CommonJS module
when not provided with URL
✗ should fail with err #255
» expected 255,
got null (==) // module-test.js:17
...
✗ Broken » 231 honored ∙ 32 broken (166.109s)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: