0 Replies Latest reply on Feb 14, 2009 7:20 AM by mcarrizo

    SeamTest FacesRequest doesnt work with pages long paths

    mcarrizo

      Im developing a Use Case with SeamTest.


      This example works great:



      @Test
      public void testCreateChiefProfileEmptyFields() throws Exception{
          new FacesRequest("/createChiefProfile.xhtml") {
                  .....
          }
      }
      




      This code doesnt work:


      @Test
      public void testCreateChiefProfileEmptyFields() throws Exception{
          new FacesRequest("/pages/publicArea/profiles/chiefs/createChiefProfile.xhtml") {
                  .....
          }
      }
      



      Of course, I've verified several times:


      1) /pages/publicArea/profiles/chiefs/createChiefProfile.xhtml is correct


      2) Both files are exactly the same


      Any ideas ?


         Best regards