@@ -131,6 +131,7 @@ public void clickOnLearnAboutStudyItem()
131131 String [] lockedParts , unlockedParts ;
132132
133133 LearnGrid learnGrid = cds .viewLearnAboutPage (LearnTab .STUDIES );
134+ sleep (CDSHelper .CDS_WAIT_LEARN );
134135 returnedItems = XPATH_RESULT_ROW_TITLE .findElements (learnGrid .getGrid ());
135136 List <WebElement > freeColItems = XPATH_RESULT_ROW_DATA .findElements (learnGrid .getGrid ());
136137
@@ -620,6 +621,7 @@ public void testLearnAboutPublications()
620621 {
621622 log ("Verify Publications listing page" );
622623 LearnGrid learnGrid = cds .viewLearnAboutPage (LearnTab .PUBLICATIONS );
624+ sleep (CDSHelper .CDS_WAIT_LEARN ); //wait for page to load completely to avoid stale element exception.
623625
624626 List <WebElement > publicationLockedLists = XPATH_RESULT_ROW_TITLE .findElements (learnGrid .getGrid ());
625627 List <WebElement > freeColItems = XPATH_RESULT_ROW_DATA .findElements (learnGrid .getGrid ());
@@ -1209,6 +1211,7 @@ public void testIntegratedDataInstructions()
12091211 String MAbName = "2F5" ;
12101212 log ("Verify sub-header instruction text on Learn About page for MAbs - " + MAbName );
12111213 cds .viewLearnAboutPage (LearnTab .MABS );
1214+ sleep (CDSHelper .CDS_WAIT_LEARN );//wait for page to load completely to avoid stale element exception.
12121215 goToDetail (MAbName , true );
12131216
12141217 log ("Verify sub-header instruction under MAb Characterization Studies" );
@@ -1990,7 +1993,7 @@ private void clickPDFGrantAffilication(String studyName, String pdfFileName)
19901993 pdfFileName = pdfFileName .toLowerCase ();
19911994
19921995 cds .viewLearnAboutPage (LearnTab .STUDIES );
1993-
1996+ sleep ( CDSHelper . CDS_WAIT_LEARN );
19941997 log ("Validate that study " + studyName + " has a grant document and is of type pdf." );
19951998 goToDetail (studyName , false );
19961999 waitForText (STUDY_INFO_TEXT_TRIGGER );
0 commit comments