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

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


    globalConfigPage = jira.goTo(GlobalConfigPage.class);

    assertEquals(0, globalConfigPage.getHeaderUserAchievements().getBronzeBadgesCount());

    globalConfigPage = jira.goTo(GlobalConfigPage.class);
    globalConfigPage.enableAchievement(1);
  }

  @Test
  public void enabledAchievementShouldCountInUserCount()
  {
View Full Code Here


    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());
  }

  @Test
View Full Code Here

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

    globalConfigPage = jira.goTo(GlobalConfigPage.class);
    globalConfigPage.enableAchievement(1);
  }


}
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.