1919import org .junit .Test ;
2020import org .junit .experimental .categories .Category ;
2121import org .labkey .test .Locator ;
22+ import org .labkey .test .util .DataRegion ;
23+ import org .labkey .test .util .DataRegionTable ;
2224
2325import static org .junit .Assert .assertTrue ;
2426
@@ -56,10 +58,13 @@ public void testSteps()
5658 assertTextPresent ("Chromatograms" );
5759
5860 clickAndWait (Locator .linkContainingText ("Peptide Map" ));
61+ DataRegionTable table = new DataRegionTable ("PeptideIds" , getDriver ());
62+ table .setPageSize (250 );
5963 assertTextPresentInThisOrder ("11.3" , "14.1" , "14.8" );
6064 assertTextPresentInThisOrder ("1501.75" , "1078.50" , "1547.71" );
61- assertTextPresentInThisOrder ("NU205" , "NU205" , "1433Z" , "UCRI; RL35" );
62- assertTextPresentInThisOrder ("70-84" , "325-333" , "28-41" , "190-196; 26-32" );
65+ assertTextPresentInThisOrder ("NU205" , "1433Z" , "RL35" , "HSP72; HSP7C" );
66+ assertTextNotPresent ("UCRI; RL35" ); // Ensure we don't have non-tryptic matches anymore
67+ assertTextPresentInThisOrder ("70-84" , "325-333" , "28-41" , "305-314; 302-311" );
6368 assertTextPresentInThisOrder ("(K)ASTEGVAIQGQQGTR(L)" , "(K)AQYEDIANR(S)" , "(K)SVTEQGAELSNEER(N)" );
6469 assertTextPresentInThisOrder ("Carbamidomethyl Cysteine @ C157" , "Carbamidomethyl Cysteine @ C245" , "Carbamidomethyl Cysteine @ C94" );
6570
@@ -75,15 +80,15 @@ public void testCrossLinkedPeptideMap()
7580 clickAndWait (Locator .linkContainingText ("Panorama Dashboard" ));
7681 clickAndWait (Locator .linkContainingText (CROSS_LINKED_SKY_FILE ));
7782
78- verifyRunSummaryCountsPep (2 ,3 ,0 , 3 , 3 , 1 , 0 , 0 );
83+ verifyRunSummaryCountsPep (2 ,2 ,0 , 2 , 2 , 1 , 0 , 0 );
7984
8085 clickAndWait (Locator .linkContainingText ("Peptide Map" ));
81- assertTextPresentInThisOrder ("364-366 " , "367-369 " , "364-367 " );
86+ assertTextPresentInThisOrder ("121-124 " , "342-345 " , "142-145 " );
8287 // Disulfide bonds
83- assertTextPresentInThisOrder ("Q364-T369-D364/ \n N366-T369-D364 " , "V121-S345-Q142/ \n Q124-S345-Q142 " );
84- assertTextPresentInThisOrder ("(A )LKPLALV(D)" , "(G )AVVQDPA(Y)" , "(F )YGEATSR(E)" );
88+ assertTextPresentInThisOrder ("V121-S345-Q142/ \n Q124-S345-Q142 " , "L11-A137-Y271/ \n L11-A137-Y271/ \n V17-A137-Y271/ " );
89+ assertTextPresentInThisOrder ("(K )LKPLALV(D)" , "(K )AVVQDPA(Y)" , "(R )YGEATSR(E)" );
8590
8691 // Ensure that the highlighting is as expected for both crosslinking and modification
87- assertTrue (getHtmlSource ().contains ("(Y )<span style=\" font-weight:bold;color:green;text-decoration:underline;\" >Q </span><span style=\" font-weight:bold;text-decoration:underline; \" >M</span><span style= \" font-weight:bold; color:green;\" >N </span>(D )" ));
92+ assertTrue (getHtmlSource ().contains ("(R )<span style=\" font-weight:bold;color:green;text-decoration:underline;\" >V </span>SS <span style=\" font-weight:bold;color:green;\" >Q </span>(Q )" ));
8893 }
8994}
0 commit comments