Merge lp:~rharding/launchpad/yui35_test into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Richard Harding on 2012-06-27 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15503 |
| Proposed branch: | lp:~rharding/launchpad/yui35_test |
| Merge into: | lp:launchpad |
| Diff against target: |
293 lines (+43/-30) 10 files modified
lib/lp/app/javascript/banners/tests/test_banner.js (+6/-5) lib/lp/app/javascript/banners/tests/test_beta_notification.js (+7/-6) lib/lp/app/javascript/banners/tests/test_privacy.js (+3/-2) lib/lp/app/javascript/client.js (+1/-1) lib/lp/app/javascript/indicator/indicator.js (+1/-1) lib/lp/app/javascript/picker/person_picker.js (+2/-2) lib/lp/app/javascript/picker/tests/test_personpicker.js (+9/-6) lib/lp/app/javascript/testing/testrunner.js (+5/-2) lib/lp/app/javascript/tests/test_lp_client.js (+7/-3) lib/lp/app/javascript/tests/test_multicheckboxwidget.js (+2/-2) |
| To merge this branch: | bzr merge lp:~rharding/launchpad/yui35_test |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| j.c.sackett (community) | 2012-06-25 | Approve on 2012-06-27 | |
|
Review via email:
|
|||
Commit Message
Update JS to be compatible with YUI 3.5.
Description of the Change
= Summary =
This branch begins testing against YUI3.5. This branch only looks at making
tests pass in both our current YUI and 3.5 in the app/javascript directory.
== Pre Implementation ==
Talked with Deryck to start work.
== Implementation Notes ==
This leaves out two failing tests
listing_navigator
lp_names
They both have their own methods of running tests and try to setup their own
YUI configs. This causes them to blow up more than the other tests and will
require more refactoring in a follow up branch.
Most of the failures are around the test runner itself, or in selectors based
on attributes not quoting the attribute value.
This updates those cases as well as a few other misc items required to get the
tests to run and display correctly.
== Tests ==
./bin/test -x -cvv --layer=
== Lint ==
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
== LoC Qualification ==
There are two qualifications:
1. Fixing these tests reduces tech debt and eases maintenance.
2. Getting to YUI 3.5 will allow us to use the build in calendar widget and
will remove all of the YUI2 code from the code base which is aroud 12K LoC
(non-minified) and over 27K lines of total files.

This looks good. Thanks.