4 Replies Latest reply on Aug 9, 2012 7:07 PM by iapazmino

    Drone invoking JSP extensions

    iapazmino

      Hello,

       

      I'm trying to test some WUIs with the Drone extension but I have a problem with the URL the DefaultSelenium is trying to open. Even when I instruct the remote to open a .jsf page with

       

      browser.open(deploymentUrl + "registration/index.jsf");
      

       

      it tries to open a .jsp page and of course is not found

       

      The requested resource (/test-war/registration/index.jsp) is not available.
      

       

      I tryed to force the pattern and added a web.xml including

       

          <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
          </servlet>
          <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
          </servlet-mapping>
      

       

      But got the same result.

       

      I'm using the following BOMs

       

                  <!-- Arquillian -->
                  <dependency>
                      <groupId>org.jboss.arquillian</groupId>
                      <artifactId>arquillian-bom</artifactId>
                      <version>1.0.2.Final</version>
                      <scope>import</scope>
                      <type>pom</type>
                  </dependency>
                  <!-- Drone -->
                  <dependency>
                      <groupId>org.jboss.arquillian.extension</groupId>
                      <artifactId>arquillian-drone-bom</artifactId>
                      <version>1.0.0.Final</version>
                      <type>pom</type>
                      <scope>import</scope>
                  </dependency>
      

       

      Any idea why the .jsf in replaced for .jsp?

       

      Thanks in advance.