mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
- If a step has a label, display it in the step editor side panel title. - Allow clicking the title to change the label. - Display the label (if set) as the workflow node box title. - Add icon to workflow node since the title might not be related to type anymore. - Enforce unique labels accross the workflow in the editor. - Qunit test cases for some of this behavior and other recent changes.
Running Tests in qunit Directory
--------------------------------
From Command-line (with Grunt and Phantom):
% npm install -g grunt-cli
% npm install
% grunt
To watch for changes to scripts and tests and automatically re-run tests:
% grunt watch
You can limit the tests run to a single file using the test option (note:
that 'tests/' is prepended to the path):
% grunt --test=metrics-logger.html
(only testing tests/metrics-logger.html)
% grunt watch --test=metrics-logger.html
(only testing tests/metrics-logger.html)
From Web Browser (no additional dependencies):
Just open test HTML file in Web Browser.
Note:
The combination of requirejs and phantomjs used to load some of these
scripts can lead to error suppression. If any of the dependencies of the
scripts you're requiring throw an error, grunt+phantom+require will not
show a visible error (even with --verbose and/or --debug). You will instead
see a timeout error thrown from phantomjs.
This generally(?) applies only to errors when evaluating the dependency.