Program: 62822
Project: 62822
Buggy source:
public void testSortAction(){
  ______TS("String_Node_Str");
  resultsPage=loginToInstructorFeedbackResultsPage("String_Node_Str","String_Node_Str");
  resultsPage.displayByGiverRecipientQuestion();
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(10,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(10,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(7,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(7,"String_Node_Str"));
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientGiverQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(10,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(10,"String_Node_Str"));
  ______TS("String_Node_Str");
  resultsPage.displayByGiverQuestionRecipient();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientQuestionGiver();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  resultsPage.clickGroupByTeam();
  ______TS("String_Node_Str");
  resultsPage.displayByGiverRecipientQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientGiverQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByGiverQuestionRecipient();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientQuestionGiver();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(7,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(7,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(7,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(7,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(7,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(9,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(9,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(10,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(10,"String_Node_Str"));
  ______TS("String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
}

Fixed version (ground truth):
public void testSortAction(){
  ______TS("String_Node_Str");
  resultsPage=loginToInstructorFeedbackResultsPage("String_Node_Str","String_Node_Str");
  resultsPage.displayByGiverRecipientQuestion();
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientGiverQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(8,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(8,"String_Node_Str"));
  ______TS("String_Node_Str");
  resultsPage.displayByGiverQuestionRecipient();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientQuestionGiver();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  resultsPage.clickGroupByTeam();
  ______TS("String_Node_Str");
  resultsPage.displayByGiverRecipientQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientGiverQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByGiverQuestionRecipient();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByRecipientQuestionGiver();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  ______TS("String_Node_Str");
  resultsPage.displayByQuestion();
  resultsPage.verifyHtmlMainContent("String_Node_Str");
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(7,"String_Node_Str"));
  assertEquals(true,resultsPage.clickQuestionAdditionalInfoButton(7,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(7,"String_Node_Str"));
  assertEquals(false,resultsPage.clickQuestionAdditionalInfoButton(7,"String_Node_Str"));
  assertEquals("String_Node_Str",resultsPage.getQuestionAdditionalInfoButtonText(7,"String_Node_Str"));
  ______TS("String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  verifySortingOrder(By.id("String_Node_Str"),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
}