Skip to content

Commit 597e309

Browse files
authored
Regression for issue #936 (#2944)
#### Rationale Regression test for LabKey/internal-issues#936
1 parent c5740f3 commit 597e309

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/org/labkey/test/tests/CustomizeViewTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,18 @@ public void saveFilterTest()
303303
FieldKey fieldKey = FieldKey.fromParts(LAST_NAME_COLUMN);
304304
String op = "Starts With";
305305
String value = "J";
306-
String[] viewNames = {TRICKY_CHARACTERS + "view", "AAC", "aaa", "aad", "zzz"};
306+
String[] viewNames = {TRICKY_CHARACTERS + "view", "AAC", "aaa", "aad", "zzz", "view,with,comma"};
307307

308308
setColumns(LAST_NAME_COLUMN);
309309
for(String name : viewNames)
310310
{
311311
_customizeViewsHelper.openCustomizeViewPanel();
312312
_customizeViewsHelper.addFilter(fieldKey, op, value);
313313
_customizeViewsHelper.saveCustomView(name);
314+
_customizeViewsHelper.openCustomizeViewPanel();
315+
// GitHub Issue #936 : ensure custom view can be edited
316+
assertElementNotPresent(Locator.tagWithClass("div", "alert-warning").withText(String.format("Custom Grid View '%s' not found.", name)));
317+
_customizeViewsHelper.closePanel();
314318
}
315319

316320
DataRegionTable drt = new DataRegionTable("query", getDriver());

0 commit comments

Comments
 (0)