private void assertThatTheReferenceSectionItemsAreNotPresent() { TimedAssertions.assertThat( "The reference jira kb item on the reference admin section was found, " + "and the reference plugin has not been enabled", SeleniumLocators.id(REFERENCE_SECTION_JIRA_KB_LINK_ID, context()).element().isNotPresent(), isTrue().now()); TimedAssertions.assertThat( "The reference jira plugin guide item on the reference admin section was found, " + "and the reference plugin has not been enabled", SeleniumLocators.id(REFERENCE_SECTION_JIRA_PLUGIN_GUIDE_LINK_ID, context()) .element() .isNotPresent(), isTrue().now()); }
private void assertThatTheReferenceItemOnTheUsersSectionIsNotPresent() { TimedAssertions.assertThat( "The reference openid item on the users section section was found, " + "and the reference plugin has not been enabled", SeleniumLocators.id(USERS_SECTION_REFERENCE_OPENID_LINK_ID, context()) .element() .isNotPresent(), isTrue().now()); }
private void assertThatTheReferenceSectionIsPresent() { TimedAssertions.assertThat( "The reference admin section was not found, and the reference plugin has been enabled", SeleniumLocators.id(ADMIN_REFERENCE_SECTION_ID, context()).element().isPresent(), isTrue().now()); }