Skip to content

Commit 846f51f

Browse files
authored
Backport GridPanelTest update to expect Units field in field dialog (#2730)
1 parent 170faf3 commit 846f51f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/org/labkey/test/tests/component/GridPanelTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ public class GridPanelTest extends GridPanelBaseTest
7272
private static final FieldInfo FILTER_BOOL_COL = FieldInfo.random("Bool", FieldDefinition.ColumnType.Boolean);
7373
private static final FieldInfo FILTER_DATE_COL = FieldInfo.random("Date", FieldDefinition.ColumnType.DateAndTime);
7474
private static final String FILTER_STORED_AMOUNT_COL = "Amount";
75+
private static final String FILTER_UNITS_COL = "Units";
7576

7677
// Views and columns used in the views. The views are only applied to the small sample type (Small_SampleType).
7778
private static final String VIEW_EXTRA_COLUMNS = "Extra_Columns";
@@ -1742,6 +1743,7 @@ public void testFilterDialogWithViews() throws IOException, CommandException
17421743
expectedList.add(FILTER_STRING_COL.getLabel());
17431744
expectedList.add(FILTER_DATE_COL.getLabel());
17441745
expectedList.add(FILTER_STORED_AMOUNT_COL);
1746+
expectedList.add(FILTER_UNITS_COL);
17451747

17461748
actualList = filterDialog.getAvailableFieldLabels();
17471749

@@ -1801,6 +1803,7 @@ public void testFilterDialogWithViews() throws IOException, CommandException
18011803
expectedList.add(FILTER_BOOL_COL.getLabel());
18021804
expectedList.add(FILTER_DATE_COL.getLabel());
18031805
expectedList.add(FILTER_STORED_AMOUNT_COL);
1806+
expectedList.add(FILTER_UNITS_COL);
18041807

18051808
filterDialog = grid.getGridBar().openFilterDialog();
18061809

0 commit comments

Comments
 (0)