-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.4-SNAPSHOT
-
Component/s: Layouts & Widgets
Nuxeo JSF components, as well as layout and widget facelet handlers are not cur -
rently unit tested: only selenium tests do test their behaviour, due to the lack of a
test case involving a mock faces context.
Facelets do provide a test framework in their dev package. It could be used as an
example, as long as other dependency JSF librairies are present. Seam is not a re -
quirement, but its JSF library is, as well as jboss-el expression language (that holds
more features than Sun el-ri implementation).
As a first step, specific selenium tests could be written for an addon so that:
- a varied set of layouts is tested. For instance, lists of lists are not present in Nuxeo default application ;
- compatibility tests are performed when refactoring (directory widgets for instance) ;
- the rendering of default widgets is checked for CSS styling needs
If we choose the Html based tests, then we can also use it as a show case : demo + documentation + samples of code
- depends on
-
NXP-4959 Add export plugin for layouts/widgets/widget types definitions
- Resolved
-
NXP-5562 Add styling for the layout demo
- Resolved
-
NXP-5578 Fix html editor submit or re-render in ajax
- Resolved
-
NXP-5524 Make the action and document bindings optional on url patterns
- Resolved
-
NXP-5576 Fix inputList tag when handling array values
- Resolved
-
NXP-5579 Fix conversion error translation when using the int widget
- Resolved
-
NXP-5582 Fix conversion error translation when using the datetime widget
- Resolved
-
NXP-6556 Display id and label when using corresponding property on nxdir:directoryEntryOutput
- Resolved
-
NXP-6594 Fix usage of the property notDisplayDefaultOption on directory JSF components
- Resolved
-
NXP-6570 Move layouts IO methods to a separate module
- Resolved
-
NXP-6551 Improve theme templates to add styling helpers
- Resolved
-
NXP-6557 Make nxu:selectItem usable without EL expressions
- Resolved
-
NXP-6618 Improve javascript tooltip
- Resolved
-
NXS-500 Add links from widget editor pages to the layout demo
- Resolved