Now you can explore another secret.
With this method you can see ALL the wicket paths you need to provide in your tests:
public void printAllComponentPaths() { Page p = tester.getLastRenderedPage(); p.visitChildren(new IVisitor() { @Override public Object component(Component component) { System.out.println(component.getPath()); return null; } }); }
Nessun commento:
Posta un commento