tester.assertInvisible("batchForm:frequency:time"); tester.assertInvisible("batchForm:frequency:dayOfWeek"); tester.assertInvisible("batchForm:frequency:dayOfMonth"); tester.assertInvisible("batchForm:frequency:custom"); tester.executeAjaxEvent("batchForm:frequency:type", "change"); tester.assertVisible("batchForm:frequency:time"); tester.assertInvisible("batchForm:frequency:dayOfWeek"); tester.assertInvisible("batchForm:frequency:dayOfMonth"); tester.assertInvisible("batchForm:frequency:custom"); formTester.setValue("frequency:time", "12:34"); formTester.submit("apply"); tester.assertVisible("batchForm:frequency:time"); tester.assertVisible("batchForm:frequency:dayOfWeek"); tester.assertInvisible("batchForm:frequency:dayOfMonth"); tester.assertInvisible("batchForm:frequency:custom"); formTester.select("frequency:dayOfWeek", 2); formTester.submit("apply"); tester.executeAjaxEvent("batchForm:frequency:type", "change"); tester.assertVisible("batchForm:frequency:time"); tester.assertInvisible("batchForm:frequency:dayOfWeek"); tester.assertVisible("batchForm:frequency:dayOfMonth"); tester.assertInvisible("batchForm:frequency:custom"); formTester.select("frequency:dayOfMonth", 5); formTester.submit("apply"); tester.assertInvisible("batchForm:frequency:time");
public void testAuthenticationEnabled() throws Exception { Assume.assumeTrue(LDAPTestUtils.initLdapServer(true, ldapServerUrl, basePath)); setupPanel(true, true); tester.assertVisible("form:panel:authenticationPanel"); tester.newFormTester("form").setValue("panel:bindBeforeGroupSearch", ""); tester.executeAjaxEvent("form:panel:bindBeforeGroupSearch", "click"); tester.assertInvisible("form:panel:authenticationPanelContainer:authenticationPanel"); }
public void testAuthenticationEnabled() throws Exception { Assume.assumeTrue(LDAPTestUtils.initLdapServer(true, ldapServerUrl, basePath)); setupPanel(true, true); tester.assertVisible("form:panel:authenticationPanelContainer:authenticationPanel"); tester.newFormTester("form").setValue("panel:bindBeforeGroupSearch", ""); tester.executeAjaxEvent("form:panel:bindBeforeGroupSearch","onclick"); tester.assertInvisible("form:panel:authenticationPanelContainer:authenticationPanel"); }
public void testAuthenticationEnabled() throws Exception { Assume.assumeTrue(LDAPTestUtils.initLdapServer(true, ldapServerUrl, basePath)); setupPanel(true, true); tester.assertVisible("form:panel:authenticationPanelContainer:authenticationPanel"); tester.newFormTester("form").setValue("panel:bindBeforeGroupSearch", ""); tester.executeAjaxEvent("form:panel:bindBeforeGroupSearch", "click"); tester.assertInvisible("form:panel:authenticationPanelContainer:authenticationPanel"); }
@Test public void testAuthenticationDisabled() throws Exception { Assume.assumeTrue(LDAPTestUtils.initLdapServer(true, ldapServerUrl, basePath)); setupPanel(false, true); tester.assertInvisible("form:panel:authenticationPanelContainer:authenticationPanel"); tester.newFormTester("form").setValue("panel:bindBeforeGroupSearch", "on"); tester.executeAjaxEvent("form:panel:bindBeforeGroupSearch","onclick"); tester.assertVisible("form:panel:authenticationPanelContainer:authenticationPanel"); }
@Test public void testAuthenticationDisabled() throws Exception { Assume.assumeTrue(LDAPTestUtils.initLdapServer(true, ldapServerUrl, basePath)); setupPanel(false, true); tester.assertInvisible("form:panel:authenticationPanelContainer:authenticationPanel"); tester.newFormTester("form").setValue("panel:bindBeforeGroupSearch", "on"); tester.executeAjaxEvent("form:panel:bindBeforeGroupSearch", "click"); tester.assertVisible("form:panel:authenticationPanelContainer:authenticationPanel"); }
@Test public void testAuthenticationDisabled() throws Exception { Assume.assumeTrue(LDAPTestUtils.initLdapServer(true, ldapServerUrl, basePath)); setupPanel(false, true); tester.assertInvisible("form:panel:authenticationPanel"); tester.newFormTester("form").setValue("panel:bindBeforeGroupSearch", "on"); tester.executeAjaxEvent("form:panel:bindBeforeGroupSearch", "click"); tester.assertVisible("form:panel:authenticationPanel"); }
tester.assertInvisible("blobConfigContainer:blobStoreForm");
assertThat(checkbox.getModelObject(), is(false)); tester.assertInvisible("form:gml32:mimeTypeToForce"); tester.assertInvisible("form:gml32:mimeTypeToForce");
assertThat(checkbox.getModelObject(), is(false)); tester.assertInvisible("form:gml32:mimeTypeToForce"); tester.assertInvisible("form:gml32:mimeTypeToForce");
assertEquals(1, batchesPanel.getDataProvider().size()); tester.assertInvisible("configurationForm:save");