diff --git a/test-ui-core/source/java/ch/systemsx/cisd/openbis/uitest/suite/main/SampleTest.java b/test-ui-core/source/java/ch/systemsx/cisd/openbis/uitest/suite/main/SampleTest.java index 89f5b6fde8af55795ef360f378b07155136efc7b..e68983f85d0b2cbed424cd57d01eac1c40400bf6 100644 --- a/test-ui-core/source/java/ch/systemsx/cisd/openbis/uitest/suite/main/SampleTest.java +++ b/test-ui-core/source/java/ch/systemsx/cisd/openbis/uitest/suite/main/SampleTest.java @@ -52,29 +52,4 @@ public class SampleTest extends MainSuite integerType)); } - @Test - public void vocabularyPropertiesLinkToExternalPagesFromSampleBrowser() throws Exception - { - Vocabulary vocabulary = - create(aVocabulary() - .withUrl("http://www.ask.com/web?q=${term}") - .withTerms("mouse", "fly", "tiger")); - - PropertyType vocabularyType = - create(aVocabularyPropertyType(vocabulary)); - - SampleType sampleType = create(aSampleType()); - - create(aSamplePropertyTypeAssignment() - .with(sampleType) - .with(vocabularyType) - .thatIsMandatory()); - - Sample sample = - create(aSample().ofType(sampleType).withProperty(vocabularyType, "mouse")); - - assertThat(browserEntryOf(sample), containsValue(vocabularyType.getLabel(), "mouse")); - assertThat(browserEntryOf(sample), containsLink(vocabularyType.getLabel(), - "http://www.ask.com/web?q=MOUSE")); - } }