diff --git a/src/org/labkey/test/components/ui/entities/EntityBulkUpdateDialog.java b/src/org/labkey/test/components/ui/entities/EntityBulkUpdateDialog.java index a5300dca78..066410a787 100644 --- a/src/org/labkey/test/components/ui/entities/EntityBulkUpdateDialog.java +++ b/src/org/labkey/test/components/ui/entities/EntityBulkUpdateDialog.java @@ -1,6 +1,7 @@ package org.labkey.test.components.ui.entities; import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; import org.labkey.remoteapi.CommandException; import org.labkey.test.BootstrapLocators; import org.labkey.test.Locator; @@ -132,6 +133,15 @@ public EntityBulkUpdateDialog setSelectionField(CharSequence fieldIdentifier, St return setSelectionField(fieldIdentifier, List.of(selectValue)); } + /** + * @param fieldIdentifier Identifier for the field; name ({@link String}) or fieldKey ({@link FieldKey}) + * @return text displayed in the help block, if any, for the selection field + */ + public @Nullable String getSelectionFieldHelpBlockText(CharSequence fieldIdentifier) + { + return elementCache().getSelect(fieldIdentifier).getHelpBlockText(); + } + /** * @param fieldIdentifier Identifier for the field; name ({@link String}) or fieldKey ({@link FieldKey}) * @return available options for the specified field