@Test(dependsOnMethods="uploadFile") public void selectFolderByName() { RepositoryPage repositoryPage = drone.getCurrentPage().render(); DocumentLibraryPage libPage = repositoryPage.selectFolder(MY_FOLDER).render(); Assert.assertFalse(libPage.hasFiles()); }
@SuppressWarnings("unchecked") @Override public RepositoryPage render(RenderTime timer) { super.render(timer); return this; }
RepositoryPage extends DocumentLibraryPage { @SuppressWarnings("unchecked") @Override public RepositoryPage render(RenderTime timer) { super.render(timer); return this; } }
RepositoryPage extends DocumentLibraryPage { @SuppressWarnings("unchecked") @Override public RepositoryPage render(RenderTime timer) { super.render(timer); return this; } RepositoryPage(WebDrone drone);  RepositoryPage(WebDrone drone, final String subfolderName);  RepositoryPage(WebDrone drone, final boolean shouldHaveFiles); }
RepositoryPage extends DocumentLibraryPage { @SuppressWarnings("unchecked") @Override public RepositoryPage render(RenderTime timer) { super.render(timer); return this; } RepositoryPage(WebDrone drone);  RepositoryPage(WebDrone drone, final String subfolderName);  RepositoryPage(WebDrone drone, final boolean shouldHaveFiles); @SuppressWarnings("unchecked") @Override RepositoryPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override RepositoryPage render(); @SuppressWarnings("unchecked") @Override RepositoryPage render(final long time); boolean titlePresent(); }
RepositoryPage extends DocumentLibraryPage { @SuppressWarnings("unchecked") @Override public RepositoryPage render(RenderTime timer) { super.render(timer); return this; } RepositoryPage(WebDrone drone);  RepositoryPage(WebDrone drone, final String subfolderName);  RepositoryPage(WebDrone drone, final boolean shouldHaveFiles); @SuppressWarnings("unchecked") @Override RepositoryPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override RepositoryPage render(); @SuppressWarnings("unchecked") @Override RepositoryPage render(final long time); boolean titlePresent();  }