Examples of disableAchievement()


Examples of com.madgnome.jira.plugins.jirachievements.pageobjects.GlobalConfigPage.disableAchievement()

  {
    GlobalConfigPage globalConfigPage =
            jira.gotoLoginPage().loginAsSysAdmin(GlobalConfigPage.class);

    assertEquals(1, globalConfigPage.getHeaderUserAchievements().getBronzeBadgesCount());
    globalConfigPage.disableAchievement(1);
   
    globalConfigPage = jira.goTo(GlobalConfigPage.class);

    assertEquals(0, globalConfigPage.getHeaderUserAchievements().getBronzeBadgesCount());
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.pageobjects.GlobalConfigPage.disableAchievement()

  {
    GlobalConfigPage page =
            jira.gotoLoginPage().loginAsSysAdmin(GlobalConfigPage.class);

    assertEquals(1, page.getHeaderUserAchievements().getBronzeBadgesCount());
    page.disableAchievement(1);
    page = jira.goTo(GlobalConfigPage.class);

    page.enableAchievement(1);
    page = jira.goTo(GlobalConfigPage.class);
    assertEquals(1, page.getHeaderUserAchievements().getBronzeBadgesCount());
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.pageobjects.GlobalConfigPage.disableAchievement()

  {
     GlobalConfigPage globalConfigPage =
            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);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.