Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13650

ITResourceOptimization tests fail - no resource aggregation applied

    Details

    • Sprint:
      4.5.0.Alpha3 - Sprint 3

      Description

      TResourceOptimization.test_script_packaging:104 expected:<1> but was:<0>
        ITResourceOptimization.test_stylesheet_packaging:113 expected:<1> but was:<0>
      

      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:

      <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>
      

      As you can see, there is richfaces.js in the head section, but actual aggregated resource (like (core.js) is expected.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                lfryc Lukáš Fryč (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: