Unit tests should not be strict on html contents
Bug #1517084 reported by
Diana Whitten
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Steve McLellan |
Bug Description
Several unit tests are using an expected string value and comparing the entire contents of an HTML element just to determine if it contains a class of 'disabled'.
This makes Horizon extremely difficult to customize and makes the unit tests extremely fragile.
Changed in horizon: | |
assignee: | nobody → Steve McLellan (sjmc7) |
Changed in horizon: | |
assignee: | Steve McLellan (sjmc7) → Diana Whitten (hurgleburgler) |
Changed in horizon: | |
assignee: | Diana Whitten (hurgleburgler) → Steve McLellan (sjmc7) |
Changed in horizon: | |
assignee: | Steve McLellan (sjmc7) → Diana Whitten (hurgleburgler) |
Changed in horizon: | |
assignee: | Diana Whitten (hurgleburgler) → Steve McLellan (sjmc7) |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/246549
Review: https:/