This commit is contained in:
Nightblade73 2019-05-12 13:45:17 +04:00
parent fe53c86136
commit 70062992ae

View File

@ -199,25 +199,6 @@ public class IndexConferenceTest extends TestTemplate {
.equals(paperName))); .equals(paperName)));
} }
// @Test
// @Order(8)
// public void testTransitionToTheArticle() {
// Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
//
// getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
// ConferencesPage conferencesPage = (ConferencesPage) getContext().initPage(page.getKey());
// ConferencePage conferencePage = (ConferencePage) getContext().initPage(Iterables.get(navigationHolder.entrySet(), 1).getKey());
//
// conferencesPage.getConferenceFirst();
//
// WebElement paper = conferencePage.getArticles().get(0);
// String paperName = paper.findElements(By.tagName("input")).get(1).getAttribute("value");
// paper.findElement(By.tagName("a")).click();
//
// Assertions.assertThat(conferencePage.getName())
// .isEqualTo(paperName);
// }
@Test @Test
public void testH_UndockArticle() { public void testH_UndockArticle() {
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0); Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);