Package com.madgnome.jira.plugins.jirachievements.pageobjects

Examples of com.madgnome.jira.plugins.jirachievements.pageobjects.UserAchievementsPage


public class UserAchievementsPageTest extends BaseWebTest
{
  @Test
  public void shouldDisplayLevelsOnUserAchievementsPage()
  {
    UserAchievementsPage userAchievementsPage =
            jira.gotoLoginPage().login("user", "user", UserAchievementsPage.class);

    assertEquals(1, userAchievementsPage.getUserLevelCount());
    assertEquals(1, userAchievementsPage.getDeveloperLevelCount());
    assertEquals(1, userAchievementsPage.getTesterLevelCount());
  }
View Full Code Here


            jira.gotoLoginPage().loginAsSysAdmin(GlobalConfigPage.class);

    assertEquals(1, globalConfigPage.getHeaderUserAchievements().getBronzeBadgesCount());
    globalConfigPage.disableAchievement(1);

    UserAchievementsPage userAchievementsPage = jira.goTo(UserAchievementsPage.class);
    assertFalse(userAchievementsPage.achievementIsPresent(1));

    globalConfigPage = jira.goTo(GlobalConfigPage.class);
    globalConfigPage.enableAchievement(1);
  }
View Full Code Here

TOP

Related Classes of com.madgnome.jira.plugins.jirachievements.pageobjects.UserAchievementsPage

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.