Skip to content

Commit 95c21d4

Browse files
committed
Test component for selecting task sample All checkbox
1 parent 9f27b53 commit 95c21d4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/org/labkey/test/components/ui/grids/GridFilterModal.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@ public GridFilterModal selectField(CharSequence fieldIdentifier)
5353
return this;
5454
}
5555

56+
/**
57+
* Sets the 'All [sample type] samples` (used by workflow task filter)
58+
* @param checked whether or not to check the box
59+
* @return this component
60+
*/
61+
public GridFilterModal checkAllDataCheckbox(boolean checked)
62+
{
63+
Checkbox noDataBox = Checkbox.Checkbox(Locator.input("field-value-allvalues-check"))
64+
.waitFor(elementCache().fieldsSelectionPanel);
65+
noDataBox.set(checked);
66+
return this;
67+
}
5668
/**
5769
* Sets the 'Find Samples without [selected assay] results
5870
* @param checked whether or not to check the box

0 commit comments

Comments
 (0)