]
Michal Petrov resolved RF-13650.
--------------------------------
Assignee: Michal Petrov
Resolution: Done
ITResourceOptimization tests fail - no resource aggregation applied
-------------------------------------------------------------------
Key: RF-13650
URL:
https://issues.jboss.org/browse/RF-13650
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: tests - functional
Affects Versions: 4.5.0.Alpha3
Reporter: Lukáš Fryč
Assignee: Michal Petrov
Fix For: 4.5.0.Alpha3
{code}
TResourceOptimization.test_script_packaging:104 expected:<1> but was:<0>
ITResourceOptimization.test_stylesheet_packaging:113 expected:<1> but
was:<0>
{code}
Originally revealed by RF-13591
These are smoke tests ,we should address them in 4.5.0.Alpha3.
----
Here is the source of the page generated by {{test_script_packaging}}:
{code}
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://richfaces.org/sandbox/prototyping">
<head id="j_idt3">
<style>body {background: white;}</style>
<script type="text/javascript"
src="/ITResourceOptimization/javax.faces.resource/jsf.js.jsf?ln=javax.faces"></script><script
type="text/javascript"
src="/ITResourceOptimization/org.richfaces.resources/javax.faces.resource/org.richfaces/jquery.js"></script><script
type="text/javascript"
src="/ITResourceOptimization/org.richfaces.resources/javax.faces.resource/org.richfaces/richfaces.js"></script>
<link type="text/css" rel="stylesheet"
href="/ITResourceOptimization/org.richfaces.resources/javax.faces.resource/org.richfaces/skinning.ecss?db=eAG7dPvZfwAIqAOT"
/>
</head>
<body></body>
</html>
{code}
As you can see, there is {{richfaces.js}} in the head section, but actual aggregated
resource (like ({{core.js}}) is expected.