Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/org/labkey/test/tests/SampleTypeNameExpressionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ public class SampleTypeNameExpressionTest extends BaseWebDriverTest
{
private static final String PROJECT_NAME = "SampleType_Name_Expression_Test";

// Issue 53548: Naming Pattern with a default value containing a () or {} cannot be saved.
private static final String DEFAULT_SAMPLE_PARENT_VALUE = "SS" +
EscapeUtil.escapeForNameExpression(TestDataGenerator.randomString(3));
EscapeUtil.escapeForNameExpression(TestDataGenerator.randomString(3, "{}()_"));

private static final String PARENT_SAMPLE_TYPE = "PS" + DOMAIN_TRICKY_CHARACTERS;
private static final String PARENT_SAMPLE_TYPE_INPUT = escapeForNameExpression(PARENT_SAMPLE_TYPE);
Expand Down
2 changes: 2 additions & 0 deletions src/org/labkey/test/tests/SampleTypeRenameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ public void testSampleTypeFieldRename() throws IOException, CommandException
testDataGenerator.addCustomRow(Map.of(FIELD_INT, intVal++));
testDataGenerator.insertRows();

SearchAdminAPIHelper.waitForIndexer();

goToProjectHome();
SampleTypeHelper sampleHelper = new SampleTypeHelper(this);
UpdateSampleTypePage updatePage = sampleHelper.goToEditSampleType(sampleTypeName);
Expand Down