@@ -68,8 +68,8 @@ public class SampleTypeLinkToStudyTest extends BaseWebDriverTest
6868 final static String ASSAY_NAME = "Test assay" ;
6969 final static String SAMPLE_TYPE1 = "Sample type 1" ;
7070 final static String SAMPLE_TYPE2 = "Sample type 2" ;
71- private final static String visitLabel1 = "Screening" ;
72- private final static String visitLabel2 = "Baseline" ;
71+ private final static String visitLabel1 = TestDataGenerator . randomName ( "Screening" , 4 , 4 , TRICKY_CHARACTERS , null ). name () ;
72+ private final static String visitLabel2 = TestDataGenerator . randomName ( "Baseline" , 4 , 4 , TRICKY_CHARACTERS , null ). name () ;
7373 private static final String READER_USER =
"[email protected] " ;
7474
7575 protected DateTimeFormatter _dateTimeFormatter = DateTimeFormatter .ofPattern ("yyyy-MM-dd" );
@@ -727,8 +727,8 @@ public void testVisitLabelLinkToStudy()
727727 public void testVisitLabelAutoLinkToStudy ()
728728 {
729729 log ("Creating the visit labels" );
730- String visitLabel = "Baseline" ;
731- createNewVisits (visitLabel , "100 " , "250 " );
730+ String visitLabel = TestDataGenerator . randomName ( "Baseline" , 4 , 4 , TRICKY_CHARACTERS , null ). name () ;
731+ createNewVisits (visitLabel , "600 " , "650 " );
732732
733733 String sampleName = "Sample with Visit label" ;
734734 log ("Creating sample type with auto link enabled" );
0 commit comments