Package com.atlassian.jira.pageobjects.pages.project.browseversion

Examples of com.atlassian.jira.pageobjects.pages.project.browseversion.BrowseVersionPage


{
  @Test
  public void shouldShowAdminAsLeadUserDeveloperAndTester()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    BrowseVersionPage browseVersionPage = browseProjectPage.openTab(VersionsTab.class).getVersion("NEXT").goToBrowseVersion();

    LeaderboardVersionTab leaderboardVersionTab = browseVersionPage.openTab(LeaderboardVersionTab.class);

    assertEquals("admin", leaderboardVersionTab.getUserLeader());
  }
View Full Code Here


  @Test
  public void firstUserInDetailsShouldBeLeader()
  {
    BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
    BrowseVersionPage browseVersionPage = browseProjectPage.openTab(VersionsTab.class).getVersion("NEXT").goToBrowseVersion();

    LeaderboardVersionTab leaderboardVersionTab = browseVersionPage.openTab(LeaderboardVersionTab.class);

    UserDetailsRow userDetailsFirstRow = leaderboardVersionTab.getUserDetails().iterator().next();
    assertEquals(leaderboardVersionTab.getUserLeader(), userDetailsFirstRow.getUsername());
  }
View Full Code Here

TOP

Related Classes of com.atlassian.jira.pageobjects.pages.project.browseversion.BrowseVersionPage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.