@@ -0,0 +1,2914 @@
+/*%0A * Copyright 2008-2013 Microarray Informatics Team, EMBL-European Bioinformatics Institute%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A *%0A *%0A * For further details of the Gene Expression Atlas project, including source code,%0A * downloads and documentation, please see:%0A *%0A * http://gxa.github.com/gxa%0A */%0A%0Apackage uk.ac.ebi.atlas.acceptance.selenium.tests.bioentitiespage;%0A%0Aimport org.junit.Test;%0Aimport uk.ac.ebi.atlas.acceptance.selenium.fixture.SinglePageSeleniumFixture;%0Aimport uk.ac.ebi.atlas.acceptance.selenium.pages.BioEntitiesPage;%0Aimport uk.ac.ebi.atlas.model.baseline.BaselineBioentitiesCount;%0A%0Aimport java.util.List;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.Matchers.*;%0A%0Apublic class BioentitiesPageGeneQueryZincFingerIT extends SinglePageSeleniumFixture %7B%0A%0A    public static final String GENE_QUERY_PARAM = %22%2522zinc%2520finger%2522%22;%0A%0A    private BioEntitiesPage subject;%0A%0A    @Override%0A    protected void getStartingPage() %7B%0A        subject = new BioEntitiesPage(driver, %22geneQuery=%22 + GENE_QUERY_PARAM);%0A        subject.get();%0A    %7D%0A%0A    @Test%0A    public void baselineExperimentCountsAreCorrect() %7B%0A        subject.clickBaselineProfile();%0A%0A        List%3CBaselineBioentitiesCount%3E baselineCounts = subject.getBaselineCounts();%0A%0A        assertThat(baselineCounts, hasSize(2));%0A%0A        assertThat(baselineCounts.get(0).getExperimentAccession(), is(%22E-MTAB-513%22));%0A        assertThat(baselineCounts.get(0).getExperimentName(), is(%22Illumina Body Map%22));%0A        assertThat(baselineCounts.get(0).getSpecies(), is(%22Homo sapiens%22));%0A        assertThat(baselineCounts.get(0).getCount(), is(-1));%0A%0A        assertThat(baselineCounts.get(1).getExperimentAccession(), is(%22E-MTAB-599%22));%0A        assertThat(baselineCounts.get(1).getExperimentName(), is(%22Six tissues%22));%0A        assertThat(baselineCounts.get(1).getSpecies(), is(%22Mus musculus%22));%0A        assertThat(baselineCounts.get(1).getCount(), is(-1));%0A%0A    %7D%0A%0A%0A    @Test%0A    public void differentialPaneHasResults() %7B%0A        assertThat(subject.diffExpressionResultCount(), is(%2221 search result(s) found%22));%0A    %7D%0A%0A%0A    @Test%0A    public void differentialPaneHasCorrectGenesAndSpecies() %7B%0A        assertThat(subject.getDiffHeatmapTableGeneColumn(), hasItems(%22Zfp292%22, %22Zfp503%22, %22Zfp810%22, %22Zfp758%22, %22Zfp46%22));%0A        assertThat(subject.getDiffHeatmapTableOrganismColumn(), hasItems(%22Mus musculus%22));%0A    %7D%0A%0A%7D%0A

add zinc finger test