Skip to content

Instantly share code, notes, and snippets.

@mtyaka
Created July 23, 2015 13:46
Show Gist options
  • Save mtyaka/83105095330e2d36aea5 to your computer and use it in GitHub Desktop.
Save mtyaka/83105095330e2d36aea5 to your computer and use it in GitHub Desktop.
paver test_js
edxapp@precise64:~/edx-platform$ paver test_js
---> pavelib.js_test.test_js
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.utils.test.utils.clean_reports_dir
find /edx/app/edxapp/edx-platform/reports -type f -delete
Setting up for all javascript
---> pavelib.utils.test.utils.clean_test_files
git clean -fqdx test_root/logs test_root/data test_root/staticfiles test_root/uploads
find . -type f -name "*.pyc" -delete
rm -rf test_root/log/auto_screenshots/*
rm -rf /tmp/mako_[cl]ms
find /edx/app/edxapp/edx-platform/reports/javascript -type f -delete
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
js-test-tool run /edx/app/edxapp/edx-platform/lms/static/js_test.yml /edx/app/edxapp/edx-platform/lms/static/js_test_coffee.yml /edx/app/edxapp/edx-platform/cms/static/js_test.yml /edx/app/edxapp/edx-platform/cms/static/js_test_squire.yml /edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/js/js_test.yml /edx/app/edxapp/edx-platform/common/static/js_test.yml --use-firefox --timeout-sec 600 --xunit-report /edx/app/edxapp/edx-platform/reports/javascript/javascript_xunit.xml
========================================
Running tests for all javascript
========================================
=======================
JavaScript test results
=======================
Browser: firefox
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...............................................................F................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.........................................
NewPostView cohort selector: allows the user to make a cohort selection [fail]
Expected spy ajax to have been called.
Expected spy ajax to have been called.
-----------------------
Failed: 1
Error: 0
Skipped: 0
Passed: 2040
=======================
Cleaning up after all javascript
================================================
Tests failed in the following suites:
* all javascript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment