I'm receiving a class not found exception when running a warp test class.
Caused by: java.lang.ClassNotFoundException: org.jboss.arquillian.warp.Activity
When I call the following steps:
Warp.initiate(new SaveActivity(driver)).inspect(new PeopleInspector());
My activity:
public class SaveActivity implements Activity {
private WebDriver driver;
public SaveActivity(WebDriver driver) {
this.driver = driver;
}
@Override
public void perform() {
driver.findElement(By.name("editPersonForm:saveButton")).click();
}
}
and inspector:
public class PeopleInspector extends Inspection {
@EJB
private PeopleDAO dao;
@AfterServlet
public void testAfterServlet() {
List<People> people = dao.findAllPeople();
boolean found = false;
for (People p : people) {
if (p.getEmail().equals("jane.doe@anyplace.com")) {
found = true;
}
}
assertTrue(found);
}
}
Actually, I just tested trunk and the same issue repeats. I'll open a jira :-)