requiredInput.assertElementExists(false);
ElementInspector message = element("fn:validationMessage");
message.assertElementExists(false);
tabSet("fn:loadingModes").setTabIndex(2, ServerLoadingMode.getInstance());
assertFalse(requiredInput.elementExists() && requiredInput.isVisible());
assertFalse(message.elementExists() && message.isVisible());
foldingPanel("fn:validationFoldingPanel").toggle().clickAndWait();
requiredInput.assertVisible(true);
message.assertElementExists(true);
message.assertVisible(false);