Program: 62739
Project: 62739
Buggy source:
public void testCopyToFsAction() throws Exception {
  String feedbackSessionName="String_Node_Str";
  String courseId=testData.courses.get("String_Node_Str").id;
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.clickSubmitButton();
  homePage.fsCopyModal.waitForFormSubmissionStatusMessageVisibility();
  assertTrue(homePage.fsCopyModal.isFormSubmissionStatusMessageVisible());
  homePage.fsCopyModal.verifyStatusMessage(Const.StatusMessages.FEEDBACK_SESSION_COPY_NONESELECTED);
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.fillFormWithAllCoursesSelected(feedbackSessionName);
  homePage.fsCopyModal.clickSubmitButton();
  String error=String.format(Const.StatusMessages.FEEDBACK_SESSION_COPY_ALREADYEXISTS,feedbackSessionName,courseId);
  homePage.fsCopyModal.waitForFormSubmissionStatusMessageVisibility();
  assertTrue(homePage.fsCopyModal.isFormSubmissionStatusMessageVisible());
  homePage.fsCopyModal.verifyStatusMessage(error);
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.fillFormWithAllCoursesSelected("String_Node_Str");
  homePage.fsCopyModal.clickSubmitButton();
  homePage.fsCopyModal.waitForFormSubmissionStatusMessageVisibility();
  homePage.fsCopyModal.verifyStatusMessage("String_Node_Str" + "String_Node_Str" + "String_Node_Str");
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.fillFormWithAllCoursesSelected("String_Node_Str");
  homePage.fsCopyModal.clickSubmitButton();
  homePage.waitForPageToLoad();
  homePage.verifyStatus(Const.StatusMessages.FEEDBACK_SESSION_COPIED);
  homePage.goToPreviousPage(InstructorHomePage.class);
  ______TS("String_Node_Str");
  homePage.changeFsCopyButtonActionLink(courseId,feedbackSessionName,"String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalLoadingError();
}

Fixed version (ground truth):
public void testCopyToFsAction() throws Exception {
  String feedbackSessionName="String_Node_Str";
  String courseId=testData.courses.get("String_Node_Str").id;
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.clickSubmitButton();
  homePage.fsCopyModal.waitForFormSubmissionErrorMessagePresence();
  assertTrue(homePage.fsCopyModal.isFormSubmissionStatusMessageVisible());
  homePage.fsCopyModal.verifyStatusMessage(Const.StatusMessages.FEEDBACK_SESSION_COPY_NONESELECTED);
  homePage.fsCopyModal.clickCloseButton();
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.fillFormWithAllCoursesSelected(feedbackSessionName);
  homePage.fsCopyModal.clickSubmitButton();
  String error=String.format(Const.StatusMessages.FEEDBACK_SESSION_COPY_ALREADYEXISTS,feedbackSessionName,courseId);
  homePage.fsCopyModal.waitForFormSubmissionErrorMessagePresence();
  assertTrue(homePage.fsCopyModal.isFormSubmissionStatusMessageVisible());
  homePage.fsCopyModal.verifyStatusMessage(error);
  homePage.fsCopyModal.clickCloseButton();
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.fillFormWithAllCoursesSelected("String_Node_Str");
  homePage.fsCopyModal.clickSubmitButton();
  homePage.fsCopyModal.waitForFormSubmissionErrorMessagePresence();
  assertTrue(homePage.fsCopyModal.isFormSubmissionStatusMessageVisible());
  homePage.fsCopyModal.verifyStatusMessage("String_Node_Str" + "String_Node_Str" + "String_Node_Str");
  homePage.fsCopyModal.clickCloseButton();
  ______TS("String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalToLoad();
  homePage.fsCopyModal.fillFormWithAllCoursesSelected("String_Node_Str");
  homePage.fsCopyModal.clickSubmitButton();
  homePage.waitForPageToLoad();
  homePage.verifyStatus(Const.StatusMessages.FEEDBACK_SESSION_COPIED);
  homePage.goToPreviousPage(InstructorHomePage.class);
  ______TS("String_Node_Str");
  homePage.changeFsCopyButtonActionLink(courseId,feedbackSessionName,"String_Node_Str");
  homePage.fsCopyModal.clickCopyButtonOnTable(courseId,feedbackSessionName);
  homePage.fsCopyModal.waitForModalLoadingError();
}