Skip to content

Commit f609fa8

Browse files
Merge 25.7 to develop
2 parents 450febc + 7163d21 commit f609fa8

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

test/src/org/labkey/test/tests/targetedms/TargetedMSLightHeavyRatioTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void testIntensity()
4747
clickTab("Proteins");
4848
DataRegionTable table = new DataRegionTable("PeptideGroup", getDriver());
4949
table.setFilter("Label", "Equals", "gi|324021745|ref|NP_001191236.1|");
50-
clickAndWait(reproducibilityReportLink());
50+
waitAndClickAndWait(reproducibilityReportLink());
5151

5252
log("Verifying the default checks for Intensity");
5353
PrecursorsWebPart precursorsWebPart = new PrecursorsWebPart(getDriver());
@@ -87,7 +87,7 @@ public void testLightHeavyRatio()
8787
clickTab("Proteins");
8888
DataRegionTable table = new DataRegionTable("PeptideGroup", getDriver());
8989
table.setFilter("Label", "Equals", "gi|324021745|ref|NP_001191236.1|");
90-
clickAndWait(reproducibilityReportLink());
90+
waitAndClickAndWait(reproducibilityReportLink());
9191

9292
log("Verifying values for light/heavy ratio");
9393
PrecursorsWebPart precursorsWebPart = new PrecursorsWebPart(getDriver());

test/src/org/labkey/test/tests/targetedms/passport/PassportTest.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ private void testNormalStuff()
7777
assertElementContains(Locator.xpath("//ul[@id='livepeptidelist']//li["+index+"]"), peptidesOrderLocation[i]);
7878
}
7979
click(Locator.xpath("//button[@id='formreset']")); // reset form check reset works
80+
waitForElement(Locator.tagWithId("ul", "livepeptidelist"));
8081
for(int i = 0; i < peptidesOrderIntensity.length; i++) {
8182
int index = i+1;
8283
assertElementContains(Locator.xpath("//ul[@id='livepeptidelist']//li["+index+"]"), peptidesOrderIntensity[i]);
@@ -86,13 +87,15 @@ private void testNormalStuff()
8687
dragAndDrop(Locator.xpath("//div[@id='rangesliderdeg']//span[1]"), 50, 0);
8788
assertElementContains(Locator.xpath("//span[@id='filteredPeptideCount']//green"), "15");
8889
click(Locator.xpath("//button[@id='formreset']")); // reset form check reset works
90+
91+
waitForElement(Locator.tagWithId("span", "filteredPeptideCount").childTag("green"));
8992
assertElementContains(Locator.xpath("//span[@id='filteredPeptideCount']//green"), "19");
9093

9194
//features
92-
assertElementPresent(Locator.xpath("//td[contains(@class, 'feature-sequencevariant')]"), 5);
93-
assertElementPresent(Locator.xpath("//td[contains(@class, 'feature-glycosylationsite')]"), 4);
94-
assertElementPresent(Locator.xpath("//td[contains(@class, 'feature-helix')]"), 7);
95-
assertElementPresent(Locator.xpath("//td[contains(@class, 'feature-turn')]"), 6);
95+
waitForElements(Locator.tagWithClass("td", "feature-sequencevariant"), 5);
96+
waitForElements(Locator.tagWithClass("td", "feature-glycosylationsite"), 4);
97+
waitForElements(Locator.tagWithClass("td", "feature-helix"), 7);
98+
waitForElements(Locator.tagWithClass("td", "feature-turn"), 6);
9699
}
97100

98101
@LogMethod

0 commit comments

Comments
 (0)