2 Replies Latest reply on Nov 20, 2008 9:45 AM by mankal

    TestNG and page.xml: action not called

    mankal

      I have the following test:


      ...



      String cid = new NonFacesRequest("requestFriendship.xhtml") {
      
                     protected void beforeRequest() {
                          setParameter("username", "userb");
                     }
                }.run();




      ...


      in requestFriendship.page.xml I have


      <action execute="#{requestFriendship.init}"/>


      When debugging the test in eclipse, I see that requestFriendship.init is never called.


      What am I doing wrong?