@When("^the following (?:elements|fields) in " + StandardSahiSteps.ELEMENT_REGEX + " (?:are not|should not be) visible:$")
public void the_following_elements_in_parent_are_not_visible( String parentType,
String parentLocator,
Integer parentPosition,
List<ElementDescriptor> descriptors ) throws Throwable {
ElementStub parent = find( parentType, parentLocator, parentPosition );
if ( parent != null && parent.exists() ) {
for ( ElementDescriptor descriptor : descriptors ) {
descriptor.setParent( parent );
assertFalse( "Visible: " + descriptor.toString(),
isVisible( elementHandleService.find( descriptor ) ) );
}