[2.4, UI] Reenable broken Javascript tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Anthony Dillon |
Bug Description
8acf3b1 accidentally disabled all Javascript tests. I reenabled them in [1] but a number of tests failed due to the changes in 8acf3b1. I fixed what I could, the tests listed below were kept disabled as they are more complicated to fix and I wanted to get JS testing enabled again.
src/maasserver/
* sets a new active removing other actives
src/maasserver/
* All tests
src/maasserver/
* All tests
src/maasserver/
* sets serviceClass in the class for element
src/maasserver/
* All tests
[1] https:/
Related branches
- Blake Rouse (community): Approve
-
Diff: 843 lines (+139/-166)7 files modifiedsrc/maasserver/static/js/angular/directives/call_to_action.js (+1/-1)
src/maasserver/static/js/angular/directives/maas_obj_form.js (+2/-2)
src/maasserver/static/js/angular/directives/tests/test_accordion.js (+17/-12)
src/maasserver/static/js/angular/directives/tests/test_call_to_action.js (+20/-19)
src/maasserver/static/js/angular/directives/tests/test_code_lines.js (+2/-2)
src/maasserver/static/js/angular/directives/tests/test_controller_status.js (+3/-2)
src/maasserver/static/js/angular/directives/tests/test_maas_obj_form.js (+94/-128)
Changed in maas: | |
milestone: | none → 2.4.0alpha2 |
description: | updated |
description: | updated |
Changed in maas: | |
assignee: | nobody → Anthony Dillon (ya-bo-ng) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Disabling all tests in test_maas_ obj_form. js is not good, not good at all. You do realize that all updating forms use that directive to update objects in MAAS over the websocket.