From e2f5e2e19168230d75306f044f000289ebad9de3 Mon Sep 17 00:00:00 2001 From: cnathe Date: Mon, 14 Jul 2025 09:04:00 -0500 Subject: [PATCH] GridPanelTest fix - grid filter pills use field label --- src/org/labkey/test/tests/component/GridPanelTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/labkey/test/tests/component/GridPanelTest.java b/src/org/labkey/test/tests/component/GridPanelTest.java index 99711eba1f..4c4e64cab7 100644 --- a/src/org/labkey/test/tests/component/GridPanelTest.java +++ b/src/org/labkey/test/tests/component/GridPanelTest.java @@ -1786,7 +1786,7 @@ public void testFilterDialogWithViews() throws IOException, CommandException grid.selectView(VIEW_EXTRA_COLUMNS); List filterPills = grid.getFilterStatusValues(); - String expectedValue = String.format("%s = true", FILTER_BOOL_COL.getName()); + String expectedValue = String.format("%s = true", FILTER_BOOL_COL.getLabel()); checker().withScreenshot("View_Filter_Pill_Error").verifyTrue(String.format("Filter pills not as expected. There should only be one with value of '%s'", expectedValue), filterPills.size() == 1 && filterPills.get(0).getText().equals(expectedValue));