assertFalse(requiredInput.elementExists() && requiredInput.isVisible());
assertFalse(message.elementExists() && message.isVisible());
foldingPanel("fn:validationFoldingPanel").toggle().clickAndWait();
requiredInput.assertVisible(true);
message.assertElementExists(true);
message.assertVisible(false);
requiredInput.keyPress(13);
message.assertVisible(true);
assertTrue(message.text().contains("Validation Error: Value is required.") ||